Skip to content

Commit 76a02c1

Browse files
committed
Fix matching of module names in "widget" and "use"
1 parent 7e80c47 commit 76a02c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grammars/lcb.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
'name': 'keyword.control.lcb'
124124

125125
'define-module':
126-
'match': '^\\s*(module|library|widget|use)(\\s+[^\\s]*)?\\b'
126+
'match': '^\\s*(module|library|widget|use)(\\s+(?:\\w|[._])*)?\\b'
127127
'captures':
128128
'1':
129129
'name':

0 commit comments

Comments
 (0)