From 45c93f91a28189e6d3ecc11f1e579ea2e53b6251 Mon Sep 17 00:00:00 2001 From: Olivia Kinnear Date: Tue, 16 Dec 2025 12:04:57 -0600 Subject: feat: remove `:Lsp*` commands for nvim 0.12 #4234 --- plugin/lspconfig.lua | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-70-g09d2