Match inline comments for new var names

beta
Raymonzut 3 years ago
parent 775fc216fa
commit f404b39845
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 4
      grammars/mblf.cson

@ -14,13 +14,13 @@
9: name: 'string'
},
{
'match': '(^\\s*)((del)?var)\ +([[:ascii:]]+)'
'match': '(^\\s*)((del)?var)\ +((?=[[:ascii:]])[^;]+)'
'captures':
2: name: 'keyword.operator'
4: name: 'builtin.variable'
},
{
'match': '(^\\s*)(point(m)?|addv|subv|copy)\ +([[:ascii:]]+)'
'match': '(^\\s*)(point(m)?|addv|subv|copy)\ +((?=[[:ascii:]])[^;]+)'
'captures':
4: name: 'builtin.variable'
},

Loading…
Cancel
Save