yorokobi / vim-splunk

Syntax highlighting for Splunk .conf files
http://yorokobi.github.io/vim-splunk/
The Unlicense
74 stars 20 forks source link

Corrections #2

Closed pi-rho closed 10 years ago

pi-rho commented 10 years ago

A set of corrections for your consideration. The biggest change is using syn-match for stanzas. This helps with complex stanzas (like source::tcp:4096 in props.conf). Also, use syn-match for complex keys (like REPORT-asdf in props.conf). I pulled the latest etc/README from Splunk 6.1.3 and added a few keys, stanzas, and constants.

yorokobi commented 10 years ago

Excellent, thank you. I have had the task of updating the syntax file on my plate but have not made time to do so. One thing I noticed right away is that most stanza headings are the same colour as their brackets instead of a separate colour. I'm still going over your changes but it has been so long since I last worked on this I fear it will take me a while to figure it out again. If you have a quick fix, let me know.

yorokobi commented 10 years ago

I figured it out.