aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/lspconfig.lua4
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