mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-15 17:38:24 +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:
|
contexts:
|
||||||
main:
|
main:
|
||||||
- match: ^(\w+\s+\d+)\s+(\d{2}:\d{2}:\d{2})
|
- match: ^(\w+\s+\d+)\s+(\d{2}:\d{2}:\d{2})
|
||||||
scope: meta.datetime.syslog constant.numeric.syslog
|
scope: meta.datetime.syslog
|
||||||
captures:
|
captures:
|
||||||
1: meta.date.syslog
|
1: meta.date.syslog constant.numeric.syslog
|
||||||
2: meta.time.syslog
|
2: meta.time.syslog constant.numeric.syslog
|
||||||
push: loghost
|
push: loghost
|
||||||
- match: ^
|
- match: ^
|
||||||
push: text
|
push: text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user