You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying this one for quite a while and the only thing that seems to do the trick is moving from .tmLanguage to .sublime-syntax format. \b for boundaries won't work, \s or " " before and/or after the logical operators also won't work.
Changing to .sublime-syntax and adding boundaries does the trick, though.
Another similar issue is with escape characters inside strings:
A simple way to solve this is, again after switching to .sublime-syntax, using the default code from package, instead of the current string.text.logstash:
(on main)
# Strings begin and end with quotes, and use backslashes as an escape
# character
- match: '"'
scope: punctuation.definition.string.begin.logstash
push: double_quoted_string
(outside main)
double_quoted_string:
- meta_scope: string.quoted.double.logstash
- match: '\\.'
scope: constant.character.escape.logstash
- match: '"'
scope: punctuation.definition.string.end.logstash
pop: true
In this snippet:
the "in" in "interface" is shown in red, while the "terface.description" is white.
PS: Thanks so much for this plugin!
The text was updated successfully, but these errors were encountered: