Skip to content

Conversation

@James-Leste
Copy link

Replaces the deprecated require('lspconfig')[name].setup() pattern with Neovim's native vim.lsp.config and vim.lsp.enable APIs within the Mason handler.

nvim-lspconfig is deprecating its internal framework logic in favor of Neovim's core LSP management. This change resolves the deprecation warning and ensures compatibility with nvim-lspconfig v3.0.0.

References:

Replaces the deprecated `require('lspconfig')[name].setup()` pattern
with Neovim's native `vim.lsp.config` and `vim.lsp.enable` APIs within
the Mason handler.

`nvim-lspconfig` is deprecating its internal framework logic in favor of
Neovim's core LSP management. This change resolves the deprecation
warning and ensures compatibility with nvim-lspconfig v3.0.0.
@tjdevries
Copy link
Member

Thanks, did something similar. appreciate it

@tjdevries tjdevries closed this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants