Skip to content

Commit 775fe01

Browse files
committed
don't highlight the ':' char after the field names
This way we're consistent with how we're highlighting the properties.
1 parent 2492532 commit 775fe01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/rec.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ syntax keyword recKeyword %mandatory %prohibit %rec %sort %unique
1212
syntax keyword recKeyword %unique
1313

1414
syntax match recComment "\v^#.*$"
15-
syntax match recField "\v^[a-zA-Z0-9_]*\:"
15+
syntax match recField "\v^[a-zA-Z0-9_]*"
1616
syntax match recComparisonOperator "\v\>?\<?\!?\=?" contained
1717

1818
syntax keyword recType int bool range real size line regexp date contained containedin=recTypeAssociation,recTypeDeclaration

0 commit comments

Comments
 (0)