load colorizer on bufread event only
This commit is contained in:
parent
ca29b38478
commit
da50d99462
1 changed files with 5 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue