Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config makes no effect when disable in certain filetypes #55

Open
416207298 opened this issue Mar 27, 2023 · 1 comment
Open

config makes no effect when disable in certain filetypes #55

416207298 opened this issue Mar 27, 2023 · 1 comment

Comments

@416207298
Copy link

416207298 commented Mar 27, 2023

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?

@Akianonymus
Copy link
Collaborator

simplescreenrecorder-2023-03-27_22.31.37.mp4

Working fine here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants