lspconfig file: place default conf in a function
This will make sure that whenever the onattach or capabilities is pulled from the default lspconfig file, thosse dofile etc code ( which is now in defautls func ) wont be called , like before.
This commit is contained in:
@@ -133,7 +133,7 @@ local default_plugins = {
|
||||
require("core.utils").lazy_load "nvim-lspconfig"
|
||||
end,
|
||||
config = function()
|
||||
require "plugins.configs.lspconfig"
|
||||
require("plugins.configs.lspconfig").defaults()
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user