kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

fix: migrate to native vim.lsp.config for nvim 0.11+ (#1776)

Open James-Leste opened this issue 11 months ago • 0 comments

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:

  • https://github.com/neovim/nvim-lspconfig/commit/23d2875d4c95f4fe527d4f3575438453b0f8dc48
  • https://vi.stackexchange.com/questions/47239/how-to-properly-migrate-from-deprecated-lspconfig-setup-to-vim-lsp-config

James-Leste avatar Dec 15 '25 08:12 James-Leste