Skip to content

Commit

Permalink
fix: correctly parse arg to get mode in rename (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
heddxh authored Dec 21, 2024
1 parent 2710a0a commit 198cd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspsaga/rename/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function parse_argument(args)

for _, arg in ipairs(args or {}) do
if arg:find('mode=') then
mode = vim.split(arg, '=', { trimempty = true })
mode = vim.split(arg, '=', { trimempty = true })[2]
elseif arg:find('%+%+project') then
project = true
end
Expand Down

0 comments on commit 198cd00

Please sign in to comment.