Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/awk/highlights.scm')
| -rw-r--r-- | runtime/queries/awk/highlights.scm | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/runtime/queries/awk/highlights.scm b/runtime/queries/awk/highlights.scm deleted file mode 100644 index d378f831..00000000 --- a/runtime/queries/awk/highlights.scm +++ /dev/null @@ -1,121 +0,0 @@ -; tree-sitter-awk v0.5.1 - -; Order matters - -[ - ";" - "," - "(" - ")" - "[" - "]" - "{" - "}" -] @operator - -(piped_io_statement [ - "|" - "|&" -] @operator) - -(redirected_io_statement [ - ">" - ">>" -] @operator) - -(update_exp [ - "++" - "--" -] @operator) - -(ternary_exp [ - "?" - ":" -] @operator) - -(assignment_exp [ - "=" - "+=" - "-=" - "*=" - "/=" - "%=" - "^=" -] @operator) - -(unary_exp [ - "!" - "+" - "-" -] @operator) - -(binary_exp [ - "^" - "**" - "*" - "/" - "%" - "+" - "-" - "<" - ">" - "<=" - ">=" - "==" - "!=" - "~" - "!~" - "in" - "&&" - "||" -] @operator) - -[ - "@include" - "@load" - "@namespace" - (pattern) -] @namespace - -[ - "function" - "func" - "print" - "printf" - "if" - "else" - "do" - "while" - "for" - "in" - "delete" - "return" - "exit" - "switch" - "case" - "default" - (break_statement) - (continue_statement) - (next_statement) - (nextfile_statement) - (getline_input) - (getline_file) -] @keyword - -(comment) @comment -(regex) @string.regexp -(number) @constant.numeric -(string) @string - -[ - (identifier) - (field_ref) -] @variable - -(func_call name: (identifier) @function) -(func_def name: (identifier) @function) - -(field_ref (_) @variable) - -(ns_qualified_name "::" @operator) -(ns_qualified_name (namespace) @namespace) |