load colorizer on bufread event only

This commit is contained in:
siduck76 2021-06-27 21:58:35 +05:30
parent ca29b38478
commit da50d99462
1 changed files with 5 additions and 2 deletions

View File

@ -13,9 +13,10 @@ return packer.startup(
use {
"norcalli/nvim-colorizer.lua",
event = "BufWinEnter",
event = "BufRead",
config = function()
require("colorizer").setup()
vim.cmd("ColorizerReloadAllBuffers")
end
}
@ -36,7 +37,9 @@ return packer.startup(
end
}
use "kabouzeid/nvim-lspinstall"
use {
"kabouzeid/nvim-lspinstall"
}
use {
"onsails/lspkind-nvim",