1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 10:52:24 +01:00

Remove variable.other from CSV highlighting

This commit is contained in:
Keith Hall
2021-04-01 22:55:53 +03:00
committed by David Peter
parent 3559079de0
commit 848ceb6f10
4 changed files with 35 additions and 37 deletions

View File

@@ -16,8 +16,6 @@ contexts:
fields:
- match: ''
push:
- field_or_record_separator
- field5
- field_or_record_separator
- field4
- field_or_record_separator
@@ -70,15 +68,11 @@ contexts:
field3:
- match: ''
set:
- meta_content_scope: meta.field-3.csv variable.other
- meta_content_scope: meta.field-3.csv constant.numeric
- include: field_contents
field4:
- match: ''
set:
- meta_content_scope: meta.field-4.csv constant.numeric
- include: field_contents
field5:
- match: ''
set:
- meta_content_scope: meta.field-5.csv keyword.operator
- meta_content_scope: meta.field-4.csv keyword.operator
- include: field_contents