Skip to content

Commit c25991a

Browse files
Fixed NoneType error on self.completions.append(completion) in /src/listeners/completion.py
1 parent 995b8ca commit c25991a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

changelog/0.16.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
v0.16.1
22

3-
# Fixes
3+
## Fixes
44

55
- Fixed NameError: global name 'subprocess' is not defined on /src/libs/terminal.py - Windows OS
66
- Fixed NoneType error on self.completions.append(completion) in /src/listeners/completion.py

src/listeners/completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def on_query_completions(self, view, prefix, locations):
112112
return ([], sublime.INHIBIT_WORD_COMPLETIONS | sublime.INHIBIT_EXPLICIT_COMPLETIONS)
113113

114114
def on_query_completions_async(self, view):
115-
self.completions = None
115+
self.completions = list()
116116

117117
if not view.match_selector(
118118
self.locations[0],

0 commit comments

Comments
 (0)