mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-07-07 01:29:26 -04:00
completions: Fix completions in identifiers
This commit is contained in:
parent
ccbd0fe78d
commit
307e11741b
1 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ def complete(
|
|||
if tokens[token_idx].type == TokenType.IDENT:
|
||||
idx = tokens[token_idx].start
|
||||
token_idx -= 1
|
||||
else:
|
||||
|
||||
while tokens[token_idx].type == TokenType.WHITESPACE:
|
||||
idx = tokens[token_idx].start
|
||||
token_idx -= 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue