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

Loading…
Cancel
Save