Closed j4cknife closed 6 years ago
The purpose of this project is to ensure Splunk .conf files not only have syntax highlighting but also to—albeit roughly—lint the syntax. Allowing "any string = any string" removes the linting capability. For .conf files that allow free-form key=value pairs, this isn't a bad idea but it should use a separate grouping so that it can also have a different color from keys detailed in the .spec files.
I toyed with this previously but found that color scheme limitations and vim's syntax types prevent this from being very effective. You are welcome to keep this change in your fork.
added regex to highlight lines in the rolemap stanza, essentially any line starting with non white space character with a space = space pattern.