-
Notifications
You must be signed in to change notification settings - Fork 81
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
How to disable/enable? #125
Comments
There is currently no such feature. What filetypes do you find it unnecessary in? |
Sometimes it's distracting in html, with color names (red, blue, white) Also, it's weird to color names in a .txt file hehe, let's say you're taking notes about a company called "yellow submarine" I tried this, but I don't know why it doesn't have effect:
|
Would you say your request has the same motivation as #124 then? I am guessing the fact that this plugin relies on the |
Yeah I guess. Without knowing how this plugin does its magic, can't it be registered only when a specific filetype opens? like I have this in my vimrc to do some customization on specific filetypes:
|
It doesn’t work that way, so no. At least not without changing how it works. Now that I think about it, the way it works may just be historical baggage and not necessary, and changing it might solve other problems as well. I need to have a think on that. |
@at1047 just posted a real solution for this in #136, albeit one that requires modifying the plugin. |
It would be nice to be able to enable it only on CSS files. I don't want my .md to highlight every time i write 'blue' or 'silver'. |
Here's a solution to not load this plugin in files other than CSS/SCSS
|
In some filetypes, it doesn't make sense having this highlighting enabled.
Is there a way of enabling/disabling?
o based on filetype?
I'm thinking about enabling only for css
The text was updated successfully, but these errors were encountered: