mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-15 01:18:31 +00:00
fix meta scope ordering to come before constant.numeric scope for times
This commit is contained in:
parent
b82b920420
commit
c0898dedb1
@ -8,10 +8,10 @@ scope: text.log.syslog
|
||||
contexts:
|
||||
main:
|
||||
- match: ^(\w+\s+\d+)\s+(\d{2}:\d{2}:\d{2})
|
||||
scope: meta.datetime.syslog constant.numeric.syslog
|
||||
scope: meta.datetime.syslog
|
||||
captures:
|
||||
1: meta.date.syslog
|
||||
2: meta.time.syslog
|
||||
1: meta.date.syslog constant.numeric.syslog
|
||||
2: meta.time.syslog constant.numeric.syslog
|
||||
push: loghost
|
||||
- match: ^
|
||||
push: text
|
||||
|
Loading…
x
Reference in New Issue
Block a user