feat(vscode): better vscode support

This commit is contained in:
Folke Lemaitre
2023-05-24 08:45:20 +02:00
parent eba510ec69
commit 5bf45e3139
3 changed files with 43 additions and 37 deletions

View File

@ -161,6 +161,8 @@ function M.load(name)
-- HACK: LazyVim may have overwritten options of the Lazy ui, so reset this here
vim.cmd([[do VimResized]])
end
local pattern = "LazyVim" .. name:sub(1, 1):upper() .. name:sub(2)
vim.api.nvim_exec_autocmds("User", { pattern = pattern, modeline = false })
end
M.did_init = false