-
Notifications
You must be signed in to change notification settings - Fork 155
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
Remove notes related to neovim 0.9 and cleanup docs #2068
Conversation
@@ -63,96 +63,45 @@ mason_lspconfig.setup_handlers { | |||
|
|||
### Neovim Limitations | |||
|
|||
Ruby LSP only supports pull diagnostics, and neovim versions prior to v0.10.0-dev-695+g58f948614 only support [publishDiagnostics](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_publishDiagnostics). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also add a note under the ## Neovim
header, e.g.:
Ensure you using v0.10 or newer.
EDITORS.md
Outdated
@@ -63,96 +63,45 @@ mason_lspconfig.setup_handlers { | |||
|
|||
### Neovim Limitations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's rename this to 'Additional Setup (Optional)'?
@andyw8 Addressed both comments. |
EDITORS.md
Outdated
Ruby LSP only supports pull diagnostics, and neovim versions prior to v0.10.0-dev-695+g58f948614 only support [publishDiagnostics](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_publishDiagnostics). | ||
Additional setup is required to enable diagnostics from Ruby LSP to appear in neovim. | ||
`rubyLsp/workspace/dependencies` is a custom method currently supported only in the VS Code plugin. | ||
The following snipped adds `ShowRubyDeps` command to show dependencies in the quickfix list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following snipped adds `ShowRubyDeps` command to show dependencies in the quickfix list. | |
The following snippet adds `ShowRubyDeps` command to show dependencies in the quickfix list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Neovim 0.10 has been released with support for
publishDiagnostics
so there is no need to suggest manually adding support for it.The snippet also contained code for adding
ShowRubyDeps
command, so I added a description for that instead. I also cleaned up the formatting of the code snippet in a separate commit.