Skip to content

Commit f4718a7

Browse files
committed
relative to function, not class
1 parent 8094455 commit f4718a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SuperPython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def on_query_completions(self, view, prefix, locations):
3434
'meta.function.parameters.python')
3535
args_regions = [
3636
m for m in args_regions if current_row > self._get_row(view, m) and
37-
m.a > cls_region.b and m.b < locations[0]]
37+
m.a >= fn_region.b and m.b < locations[0]]
3838
except IndexError as e:
3939
print(e)
4040
# We could't find some scope

0 commit comments

Comments
 (0)