prevent colorizer to attach to lazy window (#2929)

This commit is contained in:
Bruno Krugel 2024-07-15 21:32:34 -03:00 committed by GitHub
parent bf477a6bba
commit 67378a8352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,13 @@ return {
{ {
"NvChad/nvim-colorizer.lua", "NvChad/nvim-colorizer.lua",
event = "User FilePost", event = "User FilePost",
opts = { user_default_options = { names = false } }, opts = {
user_default_options = { names = false }
filetypes = {
"*",
"!lazy",
},
},
config = function(_, opts) config = function(_, opts)
require("colorizer").setup(opts) require("colorizer").setup(opts)