diff options
| author | Olivia Kinnear <git@superatomic.dev> | 2025-12-16 12:04:57 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 13:04:57 -0500 |
| commit | 45c93f91a28189e6d3ecc11f1e579ea2e53b6251 (patch) | |
| tree | bfdb59047baef6f5eb221456d99ee467dc87f7fe | |
| parent | fix(copilot): use correct error variable #4240 (diff) | |
| download | nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.tar nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.tar.gz nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.tar.bz2 nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.tar.lz nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.tar.xz nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.tar.zst nvim-lspconfig-45c93f91a28189e6d3ecc11f1e579ea2e53b6251.zip | |
feat: remove `:Lsp*` commands for nvim 0.12 #4234
| -rw-r--r-- | plugin/lspconfig.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 825dc3c8..5db58fbf 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -3,6 +3,10 @@ if vim.g.lspconfig ~= nil then end vim.g.lspconfig = 1 +if vim.fn.exists(':lsp') == 2 then + return +end + if vim.fn.has('nvim-0.11') == 0 then vim.deprecate('nvim-lspconfig support for Nvim 0.10 or older', 'Nvim 0.11+', 'v3.0.0', 'nvim-lspconfig', false) end |
