mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
completions: property_completer improvements
This commit is contained in:
parent
582502c1b4
commit
bcac788456
15 changed files with 76 additions and 33 deletions
|
@ -129,14 +129,14 @@ class ExtScaleMarks(AstNode):
|
|||
applies_in_subclass=("Gtk", "Scale"),
|
||||
matches=new_statement_patterns,
|
||||
)
|
||||
def complete_marks(ast_node, match_variables):
|
||||
def complete_marks(lsp, ast_node, match_variables):
|
||||
yield Completion("marks", CompletionItemKind.Keyword, snippet="marks [\n\t$0\n]")
|
||||
|
||||
|
||||
@completer(
|
||||
applies_in=[ExtScaleMarks],
|
||||
)
|
||||
def complete_mark(ast_node, match_variables):
|
||||
def complete_mark(lsp, ast_node, match_variables):
|
||||
yield Completion("mark", CompletionItemKind.Keyword, snippet="mark ($0),")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue