-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ALE LSP support with renameProvider only accepts bool, should also accept RenameOptions #2907
Comments
Are you sure you're using the latest version of |
Which seems to be the latest version (that's what I get after running Nothing happens with in the logfile when I run the
Just to prove that the log do work, here they are after inserting a few characters:
|
Oh, I got something. I did a little bit of Lines 143 to 147 in b91d82b
Which makes sense because when I run
But how does Echoing gives
The part that seems relevant: |
renameProvider can either be I'm guessing this issue can be solved by supporting a RenameOptions option for the LSP renameProvider. I'm renaming this issue to reflect that as LSP support as a whole. |
Here's the channel log of a (failed)
gopls built yesterday from master:
|
I've fixed this and many other things by checking if the capabilities are dictionaries, including one that doesn't support dictionaries in the spec, but you can bet it will some day. ALE doesn't do anything with any of the options at the moment, (except for completion) it just turns the features on. |
Information
VIM version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 05 2019 11:15:15)
Included patches: 1-875, 878, 884, 948, 1046, 1365-1368, 1382, 1401
Operating System: Ubuntu 19.10
What went wrong
ALERename
doesn't do anything withgopls
(I haven't tried other linters). However, renaming is a feature that is supported bygopls
Reproducing the bug
:ALERename
:ALEInfo
The text was updated successfully, but these errors were encountered: