Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 974810a

Browse files
chbkdarangi
authored andcommitted
Rewrite regex for namespace separator
1 parent 2fb5650 commit 974810a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/ruby.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2311,7 +2311,7 @@
23112311
'name': 'punctuation.separator.object.ruby'
23122312
}
23132313
{
2314-
'match': '(::)\\s*(?=[A-Z])'
2314+
'match': '(::)(?=\\s*[A-Z])'
23152315
'captures':
23162316
'1':
23172317
'name': 'punctuation.separator.namespace.ruby'

0 commit comments

Comments
 (0)