We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae76ff commit 32342baCopy full SHA for 32342ba
tern.py
@@ -53,7 +53,9 @@ def on_selection_modified_async(self, view):
53
on_selection_modified(view)
54
55
def on_query_completions(self, view, prefix, _locations):
56
- if view.score_selector(sel_start(view.sel()[0]), 'string.quoted, comment') > 0: return None
+ sel = sel_start(view.sel()[0])
57
+ if view.score_selector(sel, 'string.quoted') > 0: return None
58
+ if view.score_selector(sel, 'comment') > 0: return None
59
60
pfile = get_pfile(view)
61
if pfile is None: return None
0 commit comments