mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-01 19:02:22 +01:00
add warning highlighting to log file syntax definition
This commit is contained in:
4
assets/syntaxes/02_Extra/log.sublime-syntax
vendored
4
assets/syntaxes/02_Extra/log.sublime-syntax
vendored
@@ -26,7 +26,9 @@ contexts:
|
||||
- include: ip_addresses
|
||||
- include: numbers
|
||||
- match: \b(?i:fail(?:ure|ed)?|error|exception)\b
|
||||
scope: invalid.illegal.error.log
|
||||
scope: markup.error.log
|
||||
- match: \b(?i:warn(?:ing)?)\b
|
||||
scope: markup.warning.log
|
||||
#- include: scope:text.html.markdown#autolink-inet
|
||||
- match: \b\w+:/{2,3}
|
||||
scope: markup.underline.link.scheme.log
|
||||
|
Reference in New Issue
Block a user