Skip to content

Commit c1cb2f0

Browse files
committed
Mark variable-like tokens starting with "k" as constants
1 parent 1649708 commit c1cb2f0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

grammars/lcb.cson

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,17 @@
6060
'name': 'constant.language.core.lcb'
6161
}
6262
{
63-
'match': '\\b([tpskmxr][A-Z]\\w*)\\b'
63+
'match': '\\b([tpsmxr][A-Z]\\w*)\\b'
6464
'captures':
6565
'1':
6666
'name': 'variable.lcb'
6767
}
68+
{
69+
'match': '\\b(k[A-Z]\\w*)\\b'
70+
'captures':
71+
'1':
72+
'name': 'variable.other.constant.lcb'
73+
}
6874
{
6975
'match': '\\b(returns)\\b'
7076
'captures':

0 commit comments

Comments
 (0)