Skip to content

Commit 7f5a783

Browse files
authored
blackslash is now handled correctly in sublime text 4 (#1454)
1 parent f6c0dbe commit 7f5a783

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

latex_cwl_completions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,10 @@ def on_query_completions(self, view, prefix, locations):
305305
#
306306
# NB this may not work if there are other punctuation marks in the
307307
# completion
308-
if is_prefixed:
308+
309+
# this workaround is no longer needed in st4
310+
311+
if sublime.version() < '4058' and is_prefixed:
309312
completions = [
310313
(c[0], c[1][1:]) if c[1].startswith("\\") else c
311314
for c in completions

0 commit comments

Comments
 (0)