Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/rust-format-args/highlights.scm')
| -rw-r--r-- | runtime/queries/rust-format-args/highlights.scm | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/runtime/queries/rust-format-args/highlights.scm b/runtime/queries/rust-format-args/highlights.scm deleted file mode 100644 index 7baea85a..00000000 --- a/runtime/queries/rust-format-args/highlights.scm +++ /dev/null @@ -1,30 +0,0 @@ -; regular escapes like `\n` are detected using another grammar -; Here, we only detect `{{` and `}}` as escapes for `{` and `}` -(escaped) @constant.character.escape - -[ - "#" - (type) -] @special - -[ - (sign) - (fill) - (align) - (width) -] @operator - -(number) @constant.numeric - -(colon) @punctuation - -(identifier) @variable - -; SCREAMING_CASE is assumed to be constant -((identifier) @constant - (#match? @constant "^[A-Z_]+$")) - -[ - "{" - "}" -] @punctuation.special |