diff --git a/grammars/mblf.cson b/grammars/mblf.cson index 116c01d..57827d1 100644 --- a/grammars/mblf.cson +++ b/grammars/mblf.cson @@ -7,6 +7,10 @@ 'extension' ] 'patterns': [ + { + 'match': 'var\ +' + 'name': 'keyword.operator' + }, { 'match': ';;.*' 'name': 'comment' diff --git a/snippets/language-mblf.cson b/snippets/language-mblf.cson index 5993e13..1b447ac 100644 --- a/snippets/language-mblf.cson +++ b/snippets/language-mblf.cson @@ -5,3 +5,6 @@ 'Method documentation': 'prefix': 'doc' 'body': ';; ${1:method} - ${2:description}' + 'Variable': + 'prefix': 'var' + 'body': 'var ${1:name}'