arcsector / vscode-splunk-search-syntax

VScode syntax highlighting for SPL
MIT License
9 stars 6 forks source link

Introduce new Splunk block comment in TextMate Language (tmLanguage) grammars #8

Closed mavjs closed 2 years ago

mavjs commented 2 years ago

This is a trial-and-error attempt at fixing #4 so it may not be correct. However, in my test, it seems to work.

Screenshot from 2022-06-23 20-30-01 Screenshot from 2022-06-23 20-13-27

arcsector commented 2 years ago

The only issue I have with this is that it gets tripped up when you do a backslash before the closing triplet - I wonder if there's a way in textmate to prevent that, as I don't think Splunk's editor cares about escape characters in comments.

Regardless, good first effort - good enough to be pushed.