diff --git a/plugins/syntax_dev/completions.py b/plugins/syntax_dev/completions.py index d55ec800..cd79d53b 100644 --- a/plugins/syntax_dev/completions.py +++ b/plugins/syntax_dev/completions.py @@ -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( @@ -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):