mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-19 04:17:31 +02:00
Color fstab
dump and pass fields correctly (#2246)
Was missing the number 2 as a valid option in those fields.
This commit is contained in:
@@ -95,7 +95,7 @@ contexts:
|
||||
|
||||
fstab_dump:
|
||||
- include: comment
|
||||
- match: '\s*[01]\s*'
|
||||
- match: '\s*[012]\s*'
|
||||
comment: dump field
|
||||
scope: constant.numeric
|
||||
set: fstab_pass
|
||||
@@ -107,7 +107,7 @@ contexts:
|
||||
|
||||
fstab_pass:
|
||||
- include: comment
|
||||
- match: '\s*[01]\s*'
|
||||
- match: '\s*[012]\s*'
|
||||
comment: pass field
|
||||
scope: constant.numeric
|
||||
set: expected_eol
|
||||
|
Reference in New Issue
Block a user