nvim-colorizer.lua
nvim-colorizer.lua copied to clipboard
config makes no effect when disable in certain filetypes
What I want is to disable it in golang files, and I config as below:
require 'colorizer'.setup {
filetypes = {
'*', -- Highlight all files, but customize some others.
'!go', -- Exclude golang from highlighting.
'!golang',
-- Exclusion Only makes sense if '*' is specified!
},
}
But it makes no effect on golang files, it still colored in these files. Any help?
https://user-images.githubusercontent.com/32216346/228013375-d71f310b-1298-473d-83b8-555e68d218b7.mp4
Working fine here