mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-07-07 01:29:26 -04:00
completions: Simplify token matching code
This commit is contained in:
parent
c7a61d2227
commit
610d9c85a5
4 changed files with 27 additions and 24 deletions
|
@ -251,7 +251,7 @@ def decompile_signal(
|
|||
|
||||
@completer(
|
||||
[Signal],
|
||||
[[(TokenType.PUNCTUATION, "(")]],
|
||||
[["("]],
|
||||
)
|
||||
def signal_object_completer(ctx: CompletionContext):
|
||||
yield from get_object_id_completions(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue