mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 12:57:37 +00:00
Indicate min nvim version along side lspconfig version
This commit is contained in:
parent
dac42c039a
commit
d52d57f5d5
@ -339,7 +339,7 @@ function M.config_lsp()
|
||||
if lsp_config["util"] and lsp_config.util["available_servers"] then
|
||||
already_setup = lsp_config.util.available_servers()
|
||||
else
|
||||
-- HACK: For lspconfig versions lower than 0.1.4
|
||||
-- HACK: For lspconfig versions lower than 0.1.4, which is required for nvim <0.7.0
|
||||
already_setup = lsp_config.available_servers()
|
||||
end
|
||||
local needs_setup = vim.tbl_filter(function(server)
|
||||
|
@ -9,7 +9,7 @@ local function disable_formatter_filetypes_for_existing_servers(sources, preserv
|
||||
if lsp_config["util"] and lsp_config.util["available_servers"] then
|
||||
available_servers = lsp_config.util.available_servers()
|
||||
else
|
||||
-- HACK: For lspconfig versions lower than 0.1.4
|
||||
-- HACK: For lspconfig versions lower than 0.1.4, which is required for nvim <0.7.0
|
||||
available_servers = lsp_config.available_servers()
|
||||
end
|
||||
vim.tbl_map(function(server)
|
||||
|
Loading…
Reference in New Issue
Block a user