From 1148ce1fd9941e00bd416bce1f06a987d0e7b5f2 Mon Sep 17 00:00:00 2001 From: karei Date: Fri, 7 Apr 2023 03:19:48 +0300 Subject: Add support for Robot Framework files (#6611) * Add support for Robot Framework files * Run docgen--- runtime/queries/robot/highlights.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 runtime/queries/robot/highlights.scm (limited to 'runtime/queries') diff --git a/runtime/queries/robot/highlights.scm b/runtime/queries/robot/highlights.scm new file mode 100644 index 00000000..60f416b7 --- /dev/null +++ b/runtime/queries/robot/highlights.scm @@ -0,0 +1,21 @@ +(comment) @comment +(ellipses) @punctuation.delimiter + +(section_header) @keyword +(extra_text) @comment + +(setting_statement) @keyword + +(variable_definition (variable_name) @variable) + +(keyword_definition (name) @function) +(keyword_definition (body (keyword_setting) @keyword)) + +(test_case_definition (name) @property) + +(keyword_invocation (keyword) @function) + +(argument (text_chunk) @string) +(argument (scalar_variable) @string.special) +(argument (list_variable) @string.special) +(argument (dictionary_variable) @string.special) -- cgit v1.2.3-70-g09d2