plugins: Colorizer: Changes for new config style
This commit is contained in:
parent
7fe754342a
commit
b34328fb41
1 changed files with 3 additions and 3 deletions
|
@ -88,9 +88,9 @@ M.colorizer = function()
|
|||
}
|
||||
|
||||
options = load_override(options, "NvChad/nvim-colorizer.lua")
|
||||
colorizer.setup(options["filetypes"], options["user_default_options"])
|
||||
|
||||
vim.cmd "ColorizerAttachToBuffer"
|
||||
colorizer.setup(options)
|
||||
-- execute colorizer as soon as possible
|
||||
return vim.tbl_isempty(options.filetypes or {}) or vim.cmd [[do FileType]]
|
||||
end
|
||||
|
||||
M.comment = function()
|
||||
|
|
Loading…
Reference in a new issue