Use color-tabs package with regex.
This package use color-tabs services, and String.match or minimatch for tabs coloring.
Just edit ~/.atom/color-tabs-regex.cson (you can open it by "Color Tabs Regex: Edit Rules" command) like
"regex": "#color" "prefix": "regex": "#anothercolor"
When using prefixes, the prefix and the regex are concatenated (e.g. if the prefix is "foo/"
and the regex is "bar"
, it will check for matches with "foo/bar"
)
- On settings page you can toggle "Break on first match" behavior.
- Select regex engine: String.match or minimatch (default)