Skip to content

Commit 07cc1f1

Browse files
committed
Skip if current character is ENTER
1 parent 98fb8c0 commit 07cc1f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SublimeCodeIntel.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,9 @@ def on_modified(self, view):
14661466
pos = sel.end()
14671467
next_char = view.substr(sublime.Region(pos - 1, pos))
14681468

1469+
if next_char == '\n':
1470+
return
1471+
14691472
is_fill_char = next_char and next_char in cpln_fillup_chars.get(lang, '')
14701473
is_stop_char = next_char and next_char in cpln_stop_chars.get(lang, '')
14711474

0 commit comments

Comments
 (0)