mirror of https://github.com/helix-editor/helix
Add blueprint language (#7213)
* Add blueprint tree-sitter support * Add blueprint lsp support * Run cargo xtask docgenpull/7236/head
parent
751da01303
commit
2022e6175b
@ -0,0 +1,56 @@
|
|||||||
|
(object_id) @attribute
|
||||||
|
|
||||||
|
(string) @string
|
||||||
|
(escape_sequence) @constant.character.escape
|
||||||
|
|
||||||
|
(comment) @comment
|
||||||
|
|
||||||
|
(constant) @constant.builtin
|
||||||
|
(boolean) @constant.builtin.boolean
|
||||||
|
|
||||||
|
(template) @keyword
|
||||||
|
|
||||||
|
(using) @keyword.control.import
|
||||||
|
|
||||||
|
(decorator) @attribute
|
||||||
|
|
||||||
|
(property_definition (property_name) @variable.other.member)
|
||||||
|
|
||||||
|
(object) @type
|
||||||
|
|
||||||
|
(signal_binding (signal_name) @function.builtin)
|
||||||
|
(signal_binding (function (identifier)) @function)
|
||||||
|
(signal_binding "swapped" @keyword)
|
||||||
|
|
||||||
|
(styles_list "styles" @function.macro)
|
||||||
|
(layout_definition "layout" @function.macro)
|
||||||
|
|
||||||
|
(gettext_string "_" @function.builtin)
|
||||||
|
|
||||||
|
(menu_definition "menu" @keyword)
|
||||||
|
(menu_section "section" @keyword)
|
||||||
|
(menu_item "item" @function.macro)
|
||||||
|
|
||||||
|
(template_definition (template_name_qualifier) @keyword.storage.type)
|
||||||
|
|
||||||
|
(import_statement (gobject_library) @namespace)
|
||||||
|
|
||||||
|
(import_statement (version_number) @constant.numeric.float)
|
||||||
|
|
||||||
|
(float) @constant.numeric.float
|
||||||
|
(number) @constant.numeric
|
||||||
|
|
||||||
|
[
|
||||||
|
";"
|
||||||
|
"."
|
||||||
|
","
|
||||||
|
] @punctuation.delimiter
|
||||||
|
|
||||||
|
[
|
||||||
|
"("
|
||||||
|
")"
|
||||||
|
"["
|
||||||
|
"]"
|
||||||
|
"{"
|
||||||
|
"}"
|
||||||
|
] @punctuation.bracket
|
Loading…
Reference in New Issue