Fix syslog syntax highlighting when no colon after "process"

This commit is contained in:
Keith Hall
2021-08-16 21:57:49 +03:00
parent 699f1e65cc
commit 133b06e945
3 changed files with 5 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ contexts:
scope: entity.other.attribute-name.loghost.syslog
set: process
process:
- match: ([\w.-]+)(?:(\[)(\d+)(\]))?(:)
- match: ([\w.-]+)(?:(\[)(\d+)(\]))?([ :])
captures:
1: support.function.process.syslog
2: punctuation.separator.pid.begin.syslog