Skip to content

Commit 7006928

Browse files
committed
Merged new language syntax file support
2 parents 84da3b1 + ded42c5 commit 7006928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unicodecomplete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_line_contents(view, location):
2525
LIST_PREFIX_RE = re.compile(r'.*(\\\\([^\s\\]+\\[^\s]*))$')
2626
LIST_RE = re.compile(r'^(?P<prefix>[^\s\\]+)\\(?P<list>[^\s]*)$')
2727
UNICODE_LIST_PREFIX_RE = re.compile(r'.*(\\([^\s\\]+)\\([^\s]+))$')
28-
SYNTAX_RE = re.compile(r'(.*?)/(?P<name>[^/]+)\.tmLanguage')
28+
SYNTAX_RE = re.compile(r'(.*?)/(?P<name>[^/]+)\.(?:tmLanguage|sublime-syntax)')
2929

3030

3131
def get_unicode_prefix(view, location):

0 commit comments

Comments
 (0)