mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-18 12:00:11 +02:00
Fix syslog syntax highlighting when no colon after "process"
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user