Skip to content

Commit 4fe8e28

Browse files
angelestelar5zbasarat
authored andcommitted
fix(grammar) don't see the need for matching beginning of word
closes TypeStrong/atom-typescript#395
1 parent c0ac85e commit 4fe8e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/typescript.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
{
2323
'comment': 'Match type annotation for key types'
24-
'match': '\\b:\\s*(string|boolean|number|any)\\b'
24+
'match': ':\\s*(string|boolean|number|any)\\b'
2525
'captures':
2626
'1' :
2727
'name': 'storage.type.variable.ts'

0 commit comments

Comments
 (0)