Seperate operator and variable name as operant

beta
Raymonzut 4 years ago
parent 93734be04d
commit 81d1f775c3
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 11
      grammars/mblf.cson

@ -8,8 +8,15 @@
]
'patterns': [
{
'match': '(^\\s*)(del)?var\ +'
'name': 'keyword.operator'
'match': '(^\\s*)((del)?var)\ +([[:alnum:]]+)'
'captures':
2: name: 'keyword.operator'
4: name: 'builtin.variable'
},
{
'match': '(^\\s*)(point(m)?|addv|subv|copy)\ +([[:alnum:]]+)'
'captures':
4: name: 'builtin.variable'
},
{
'match': ';;.*$'

Loading…
Cancel
Save