summaryrefslogtreecommitdiff
path: root/lua/lvim/lsp/manager.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-05-21 16:48:47 +0200
committerGitHub <[email protected]>2022-05-21 16:48:47 +0200
commit23df368b00bda0ed4a01fac92f7ad80998c1d34a (patch)
tree2362ff18ac68eab313380e814238fa15c1237934 /lua/lvim/lsp/manager.lua
parenta2454310b6c0b5b530521a77b9b8eb290274e040 (diff)
refactor: load the default options once (#2592)
BREAKING CHANGE: modifying the default options for keymaps and autocmds is now done by overwriting them, since they won't be loaded into the global `lvim` table anymore * refactor: use the lua-commands api * refactor!: use the lua-autocmds api * fix(settings): let neovim handle spellfile * feat: add log:set_log_level() * chore: update examples * chore: add deprecation notice for custom_groups
Diffstat (limited to 'lua/lvim/lsp/manager.lua')
-rw-r--r--lua/lvim/lsp/manager.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/lvim/lsp/manager.lua b/lua/lvim/lsp/manager.lua
index 2f24298d..9e898841 100644
--- a/lua/lvim/lsp/manager.lua
+++ b/lua/lvim/lsp/manager.lua
@@ -3,19 +3,6 @@ local M = {}
local Log = require "lvim.core.log"
local lvim_lsp_utils = require "lvim.lsp.utils"
-function M.init_defaults(languages)
- languages = languages or lvim_lsp_utils.get_all_supported_filetypes()
- for _, entry in ipairs(languages) do
- if not lvim.lang[entry] then
- lvim.lang[entry] = {
- formatters = {},
- linters = {},
- lsp = {},
- }
- end
- end
-end
-
---Resolve the configuration for a server by merging with the default config
---@param server_name string
---@vararg any config table [optional]