diff --git a/neovim/lua/plugins/lsp.lua b/neovim/lua/plugins/lsp.lua index e37af47..c0f2eb6 100644 --- a/neovim/lua/plugins/lsp.lua +++ b/neovim/lua/plugins/lsp.lua @@ -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) diff --git a/neovim/lua/plugins/null-ls/init.lua b/neovim/lua/plugins/null-ls/init.lua index 7a239d6..8d24385 100644 --- a/neovim/lua/plugins/null-ls/init.lua +++ b/neovim/lua/plugins/null-ls/init.lua @@ -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)