Skip to content

Commit a9bed08

Browse files
committed
Do not check there is text when doing autocomplete
1 parent d9d0500 commit a9bed08

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

SublimeCodeIntel.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ def _autocomplete_callback(view, path, lang):
299299

300300
lpos = view.line(sel).begin()
301301
text = view.substr(sublime.Region(lpos, pos + 1))
302-
if not text.strip():
303-
return
304-
305302
next = text[-1] if len(text) == pos + 1 - lpos else None
306303

307304
if not next or next != '_' and not next.isalnum():

0 commit comments

Comments
 (0)