diff options
| author | Emmanuel Bustos Torres <ema2159@gmail.com> | 2023-07-17 10:21:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-17 10:21:10 +0200 |
| commit | dd6964575e6ced69d582b7b9ffa46c240744c56f (patch) | |
| tree | cce0577a0f4fbe079f2de19f5cad968528b250b5 /queries/robot | |
| parent | Update parsers: arduino, c, elixir, ocaml, ocaml_interface, wing (diff) | |
| download | nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.tar nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.tar.gz nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.tar.bz2 nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.tar.lz nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.tar.xz nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.tar.zst nvim-treesitter-dd6964575e6ced69d582b7b9ffa46c240744c56f.zip | |
feat: add Robot Framework parser and highlights
Diffstat (limited to 'queries/robot')
| -rw-r--r-- | queries/robot/highlights.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/queries/robot/highlights.scm b/queries/robot/highlights.scm new file mode 100644 index 000000000..abff22c42 --- /dev/null +++ b/queries/robot/highlights.scm @@ -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 |
