We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8d3e8 commit a0849adCopy full SHA for a0849ad
lua/nvchad/lsp/renamer.lua
@@ -24,7 +24,7 @@ return function()
24
api.nvim_buf_delete(buf, { force = true })
25
26
if #newName > 0 and newName ~= var then
27
- local params = vim.lsp.util.make_position_params()
+ local params = vim.lsp.util.make_position_params(0, "utf-8")
28
params.newName = newName
29
vim.lsp.buf_request(0, "textDocument/rename", params)
30
end
0 commit comments