feat: add Robot Framework parser and highlights

This commit is contained in:
Emmanuel Bustos Torres 2023-07-17 10:21:10 +02:00 committed by GitHub
parent 1e3b986650
commit dd6964575e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 0 deletions

View file

@ -440,6 +440,9 @@
"rnoweb": {
"revision": "502c1126dc6777f09af5bef16e72a42f75bd081e"
},
"robot": {
"revision": "f1142bfaa6acfce95e25d2c6d18d218f4f533927"
},
"ron": {
"revision": "ce6086b2c9e8e71065b8129d6c2289c5f66d1879"
},

View file

@ -1309,6 +1309,15 @@ list.rnoweb = {
maintainers = { "@bamonroe" },
}
list.robot = {
install_info = {
url = "https://github.com/Hubro/tree-sitter-robot",
files = { "src/parser.c" },
},
maintainers = { "@ema2159" },
experimental = true,
}
list.ron = {
install_info = {
url = "https://github.com/amaanq/tree-sitter-ron",

View file

@ -0,0 +1,21 @@
(argument (dictionary_variable) @string.special)
(argument (list_variable) @string.special)
(argument (scalar_variable) @string.special)
(argument (text_chunk) @string)
(keyword_invocation (keyword) @function)
(test_case_definition (name) @property)
(keyword_definition (body (keyword_setting) @keyword))
(keyword_definition (name) @function)
(variable_definition (variable_name) @variable)
(setting_statement) @keyword
(extra_text) @comment
(section_header) @keyword
(ellipses) @punctuation.delimiter
(comment) @comment