fix: revert ColorScheme autocmd execution (#3397)

This commit is contained in:
LostNeophyte 2022-11-02 18:07:57 +01:00 committed by GitHub
parent 1e0ab6a3a3
commit 9282c4b54f
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,9 @@ function M.run_on_packer_complete()
if M._reload_triggered then
if not in_headless then
vim.schedule(function()
pcall(vim.api.nvim_exec_autocmds, "ColorScheme", { pattern = "*" })
-- FIXME(kylo252): nvim-tree.lua/lua/nvim-tree/view.lua:442: Invalid window id
-- pcall(vim.api.nvim_exec_autocmds, "ColorScheme", { pattern = "*" })
pcall(vim.cmd.colorscheme, lvim.colorscheme)
end)
end
Log:debug "Reloaded configuration"