Fix syslog syntax highlighting when no colon after "process"

This commit is contained in:
Keith Hall committed 2021-08-16 22:15:39 +03:00
1 parent 699f1e65cc
commit 133b06e945
3 files changed
+5 -1

No files matched your search

+1 -1
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