Match variables

beta
Raymonzut 4 years ago
parent 34dff47734
commit 061840cc84
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 4
      grammars/mblf.cson
  2. 3
      snippets/language-mblf.cson

@ -7,6 +7,10 @@
'extension'
]
'patterns': [
{
'match': 'var\ +'
'name': 'keyword.operator'
},
{
'match': ';;.*'
'name': 'comment'

@ -5,3 +5,6 @@
'Method documentation':
'prefix': 'doc'
'body': ';; ${1:method} - ${2:description}'
'Variable':
'prefix': 'var'
'body': 'var ${1:name}'

Loading…
Cancel
Save