Skip to content

Conversation

@bombsimon
Copy link
Contributor

Nvim 0.11+ uses the builtin vim.lsp.enable and vim.lsp.config to enable and configure LSP clients. This adds the new non legacy way of configuring Nvim with nvim-lspconfig according to the upstream documentation.

Summary

Update documentation for Nvim LSP configuration according to nvim-lspconfig and Nvim 0.11+

Test Plan

Tested locally on macOS with Nvim 0.11.1 and nvim-lspconfig master/ac1dfbe.

Nvim 0.11+ uses the builtin `vim.lsp.enable` and `vim.lsp.config` to
enable and configure LSP clients. This adds the new non legacy way of
configuring Nvim with `nvim-lspconfig` according to the upstream
documentation.
@ntBre ntBre added the documentation Improvements or additions to documentation label May 14, 2025
@ntBre ntBre requested a review from dhruvmanila May 14, 2025 19:56
@dhruvmanila dhruvmanila self-assigned this May 14, 2025
@dhruvmanila
Copy link
Member

Thanks! I'll play around with the structure a bit before merging but I agree with Brent about probably using a sub-heading here.

@dhruvmanila dhruvmanila changed the title [docs] update Nvim LSP docs Update Neovim setup docs May 14, 2025
Copy link
Member

@dhruvmanila dhruvmanila left a comment

Choose a reason for hiding this comment

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

Thank you!

@dhruvmanila dhruvmanila enabled auto-merge (squash) May 14, 2025 20:53
@dhruvmanila dhruvmanila merged commit 33e14c5 into astral-sh:main May 14, 2025
33 checks passed
@bombsimon bombsimon deleted the update-nvim-docs branch May 14, 2025 20:58
Glyphack pushed a commit to Glyphack/ruff that referenced this pull request May 21, 2025
## Summary

Nvim 0.11+ uses the builtin `vim.lsp.enable` and `vim.lsp.config` to
enable and configure LSP clients. This adds the new non legacy way of
configuring Nvim with `nvim-lspconfig` according to the upstream
documentation.

Update documentation for Nvim LSP configuration according to
`nvim-lspconfig` and Nvim 0.11+

## Test Plan

Tested locally on macOS with Nvim 0.11.1 and `nvim-lspconfig`
master/[ac1dfbe](https://github.com/neovim/nvim-lspconfig/tree/ac1dfbe3b60e5e23a2cff90e3bd6a3bc88031a57).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants