-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with custom-elements-languageserver
("Nothing to rename")
#44
Comments
Hi, thanks for reporting. Can you send me the contents of the Lua file and let me know which symbol your cursor was on as you tried to rename? Thanks. |
Sure, it happens on(almost) every lua file so can't rename this on a separate file(cursor is on top of "test"): local test={"thing"}
test[1]="ABC" I couldn't determine when It happens though, if I create a test.lua inside home dir it works fine, but on every project I create a lua file I have this issue |
Ok, it seems to be working wrong with most of the filetypes when running under a project. When runnning in single file mode it works well . With java(jdtls) it doesn't thow any errors but it doesn't work, with C/C++(clangd) I get the same error and with python(pylsp) it works well |
Could you send me the link to a project where it does not work? Since I can't reproduce it right now (seems to work for both single file mode and within a project). |
Here is my nvim- config, doesn't work there |
Also just created a new project with only "test.lua" and .git directory, it first worked, then opened my config tried to rename something there, it didn't work, and the went to rename somthing in test.lua and it didn't work anymore |
Cannot test right now, but is project root the root directory of the project when you run |
Yes, LspInfo shows this:
|
I will test when I get home with |
Update: executing |
I found the issue. It happens whedn the |
Thanks a lot for investigating, I'm glad you figured it out! |
custom-elements-languageserver
("Nothing to rename")
Hello, I am having issues making it work on lua files, I've tested it on C,C++ and java and it worked well, but when trying to use it on lua files it doesn't work.
I have this sudggeste mapping:
When trying to use it on lua files the dressing window appears for an instant and I get the following error:
[inc_rename] Nothing to rename
Also if I try to use the command manually the command tries to trigger as soon asi I write
:Inc
with theE471: Argument required
errorI tried with Lspsaga's rename and it works fine.
Lsp I use on Lua is stylua
The text was updated successfully, but these errors were encountered: