load colorizer on bufread event only

This commit is contained in:
siduck76 2021-06-27 21:58:35 +05:30
parent ca29b38478
commit da50d99462

View File

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