aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lspconfig.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua
index 35898e17..550f92e7 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.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
+
local api, lsp = vim.api, vim.lsp
local util = require('lspconfig.util')