fix meta scope ordering to come before constant.numeric scope for times

This commit is contained in:
Keith Hall committed 2025-02-09 20:31:31 +02:00
1 parent b82b920420
commit c0898dedb1
1 file changed
+3 -3
+3 -3
View File
@@ -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