Closed johnny-mh closed 1 year ago
same for me.
:lua vim.lsp.buf.rename()
working
:Lspsaga rename
not working
Neovim version (latest) v0.9.1
LSPSaga (latest commit)
Languages used Typescript, Typescript React
Terminal used Alacritty 0.12.2
Same for me
:lua vim.lsp.buf.rename()
work fine, but after command :Lspsaga rename
stop working.
Neovim version (latest)
v0.9.1
LSPSaga (latest commit)
Languages used Lua
Nvim-Qt
@glepnir Thanks! it works!
@glepnir I'm on the latest commit https://github.com/nvimdev/lspsaga.nvim/commit/96d001721f5d4c47a6c5ed54124e3b604b7bbca8 and :Lspsaga rename
not working with typescript, but works with python
v0.9.1
https://github.com/nvimdev/lspsaga.nvim/commit/96d001721f5d4c47a6c5ed54124e3b604b7bbca8
Typescript, Typescript React, python
kitty 0.28.1
can't reproduce. ts react works fine .
@glepnir when I try to rename I get this stack traceback after I press enter
Error executing vim.schedule lua callback: ...share/nvim/lazy/lspsaga.nvim/lua/lspsaga/rename/init.lua:176: attempt to index local 'result' (a nil value) stack traceback: ...share/nvim/lazy/lspsaga.nvim/lua/lspsaga/rename/init.lua:176: in function 'handler' /usr/share/nvim/runtime/lua/vim/lsp/buf.lua:321: in function 'handler' /usr/share/nvim/runtime/lua/vim/lsp.lua:1394: in function '' vim/_editor.lua: in function <vim/_editor.lua:0>
how to reproduce . could you provide an example code I can't reproduce it on ts or react . update and retry.
@glepnir It's working now after updating, thank you
Has anyone tried it in Java, because it doesn't work for me :(
:lua vim.lsp.buf.rename() working :Lspsaga rename not working
Neovim version (latest) v0.9.5
LSPSaga (latest commit - 0e2e116)
Languages used Java
Terminal used Alacritty 0.13.2
Describe the bug
Rename does nothing. I've tried with typescript
Steps to reproduce
I tried
:lua vim.lsp.buf.rename()
but it works properly.Expected behavior
Module name properly changed.
Neovim version (nvim -v)
v0.10.0-dev-653+gfbeef0d4e-Homebrew
lspsaga commit
20eef6
Terminal name/version
alacrittty 0.12.2