Global syntax files? #2889
Replies: 2 comments 1 reply
-
I am also interested in a solution to add more words to the todo section of comments in a global way. Does anyone know of a solution? I want to avoid overriding all syntax files. Maybe there is some trick with 'include'? It seems not possible, considering that each filetype has its own way of creating comments, but... To be more explicit, what I want to do is replace the 'comment' rules like this: - comment:
start: "/\\*"
end: "\\*/"
rules:
- todo: "(TODO|XXX|FIXME|MORE|WORDS|HERE):?" # only change wanted |
Beta Was this translation helpful? Give feedback.
-
Same here actually. I wanted to highlight Also I always wanted to have the ability to add additional syntax rules for existing default syntax file without having to repeat what's in the default syntax file. Maybe something like an additive syntax file that can be applied at the end over the existing ones would be great. If enough people want this feature, maybe I can have a go at it at some point. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to have a global syntax file for things I'd like to highlight in every file type such as:
Does
micro
merge multiple matching filetype syntax yamls? Could I just have aglobal.yaml
starting with:Also, is there a documented set of keywords shared between the syntax and colorscheme sets?
Thanks in advance for your help, I'm really enjoying
micro
so far.Beta Was this translation helpful? Give feedback.
All reactions