Skip to content
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

Merged
4 commits merged into from
May 17, 2024
Merged

Remove notes related to neovim 0.9 and cleanup docs #2068

4 commits merged into from
May 17, 2024

Conversation

nithinbekal
Copy link
Contributor

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.

@nithinbekal nithinbekal requested a review from andyw8 May 17, 2024 02:57
@nithinbekal nithinbekal requested a review from a team as a code owner May 17, 2024 02:57
@nithinbekal nithinbekal requested a review from st0012 May 17, 2024 02:57
@nithinbekal nithinbekal changed the title Nvim 0 10 Remove notes related to neovim 0.9 and cleanup docs May 17, 2024
@nithinbekal nithinbekal added the other Changes that aren't bugfixes, enhancements or breaking changes label May 17, 2024
@@ -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).
Copy link
Contributor

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
Copy link
Contributor

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)'?

@nithinbekal
Copy link
Contributor Author

@andyw8 Addressed both comments.

@nithinbekal nithinbekal added the server This pull request should be included in the server gem's release notes label May 17, 2024
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@andyw8 andyw8 enabled auto-merge (squash) May 17, 2024 15:07
@andyw8 andyw8 closed this pull request by merging all changes into main in 813f870 May 17, 2024
@andyw8 andyw8 deleted the nvim-0-10 branch May 17, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants