fix(lsp): lsp on_attach was not called at normal mode
This commit is contained in:
parent
243552c21e
commit
f51e91a391
|
@ -17,7 +17,7 @@ M.lazy_load = function(tb)
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
require("packer").loader(tb.plugin)
|
require("packer").loader(tb.plugin)
|
||||||
if tb.plugin == "nvim-lspconfig" then
|
if tb.plugin == "nvim-lspconfig" then
|
||||||
vim.cmd "silent! e %"
|
vim.cmd "silent! do FileType"
|
||||||
end
|
end
|
||||||
end, 0)
|
end, 0)
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,6 +18,7 @@ local plugins = {
|
||||||
|
|
||||||
["NvChad/ui"] = {
|
["NvChad/ui"] = {
|
||||||
after = "base46",
|
after = "base46",
|
||||||
|
module = "nvchad_ui",
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.others").nvchad_ui()
|
require("plugins.configs.others").nvchad_ui()
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue