Skip to content

Commit

Permalink
Address flake 8 lints
Browse files Browse the repository at this point in the history
  • Loading branch information
FichteFoll committed Nov 24, 2024
1 parent 5f972a1 commit e4a5d59
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plugins/syntax_dev/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,10 @@ def match_selector(selector, offset=0):
"meta.expect-context-list-or-content | meta.context-list-or-content",
-1,
):
result = ((self._complete_keyword(prefix, locations) or [])
+ self._complete_context(prefix, locations))
result = (
(self._complete_keyword(prefix, locations) or [])
+ self._complete_context(prefix, locations)
)

# Auto-completion for include values using the 'contexts' keys
elif match_selector(
Expand All @@ -271,7 +273,7 @@ def match_selector(selector, offset=0):
else:
# Standard completions for unmatched regions
result = self._complete_keyword(prefix, locations)

return result

def _line_prefix(self, point):
Expand Down

0 comments on commit e4a5d59

Please sign in to comment.