fix(lsp): lsp on_attach was not called at normal mode
This commit is contained in:
@@ -17,7 +17,7 @@ M.lazy_load = function(tb)
|
||||
vim.defer_fn(function()
|
||||
require("packer").loader(tb.plugin)
|
||||
if tb.plugin == "nvim-lspconfig" then
|
||||
vim.cmd "silent! e %"
|
||||
vim.cmd "silent! do FileType"
|
||||
end
|
||||
end, 0)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user