make lsphandlers overridable
This commit is contained in:
parent
01f652fcc4
commit
abcd035e89
|
@ -1,3 +1,5 @@
|
|||
require("plugins.configs.others").lsp_handlers()
|
||||
|
||||
local function on_attach(_, bufnr)
|
||||
local function buf_set_keymap(...)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, ...)
|
||||
|
@ -56,5 +58,3 @@ local addlsp_confs = require("core.utils").load_config().plugins.options.lspconf
|
|||
if #addlsp_confs ~= 0 then
|
||||
require(addlsp_confs).setup_lsp(on_attach, capabilities)
|
||||
end
|
||||
|
||||
require("plugins.configs.others").lsp_handlers()
|
||||
|
|
Loading…
Reference in New Issue