Remove the ':' in a few places

Changed my mind, I think it's more confusing to use the colon for
properties when they aren't really properties.
This commit is contained in:
James Westman 2021-11-12 17:47:09 -06:00
parent e759569c3f
commit 981c2e3b7d
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
10 changed files with 14 additions and 17 deletions

View file

@ -58,7 +58,6 @@ widgets = Group(
Widgets,
Statement(
Keyword("widgets"),
Op(":"),
OpenBracket(),
Delimited(
Group(
@ -79,4 +78,4 @@ widgets = Group(
def file_filter_completer(ast_node, match_variables):
file_filter = ast_node.root.gir.get_type("SizeGroup", "Gtk")
if ast_node.gir_class and ast_node.gir_class.assignable_to(file_filter):
yield Completion("widgets", CompletionItemKind.Snippet, snippet="mime-types: [$0];")
yield Completion("widgets", CompletionItemKind.Snippet, snippet="widgets [$0];")