nvim-colorizer.lua icon indicating copy to clipboard operation
nvim-colorizer.lua copied to clipboard

config makes no effect when disable in certain filetypes

Open 416207298 opened this issue 2 years ago • 1 comments

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?

416207298 avatar Mar 27 '23 09:03 416207298

https://user-images.githubusercontent.com/32216346/228013375-d71f310b-1298-473d-83b8-555e68d218b7.mp4


Working fine here

Akianonymus avatar Mar 27 '23 17:03 Akianonymus