diff options
author | Kirawi | 2021-07-08 00:51:46 +0000 |
---|---|---|
committer | GitHub | 2021-07-08 00:51:46 +0000 |
commit | c7aa7bf4baf8e0ac4eca3ebdca065ab2a7bea95c (patch) | |
tree | be79880a7626154ffc012fc1b5d612349ff9a6f0 /runtime/queries/rust | |
parent | 1c71fced0e38a4f126155cb7161d4f4fa4f82673 (diff) |
VSCode Dark+ Theme (#414)
* wip
* Add VSCode Dark+ Theme
wip
wip
wip
wip
wip
wip
properly detect constants
add bool
wip
* suggestion
* add variant for c/c++
* fix hexcode error
* removed regex highlight
* fixed constant higlighting
* wip
* add space
* add suggestions
* update theme
* update book
* suggestions
* fix c/c++ enum
* update book
Diffstat (limited to 'runtime/queries/rust')
-rw-r--r-- | runtime/queries/rust/highlights.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index b72216f6..bb15074b 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -3,9 +3,10 @@ ; Assume all-caps names are constants ((identifier) @constant - (#match? @constant "^[A-Z][A-Z\\d_]+$'")) + (#match? @constant "^[A-Z][A-Z\\d_]+$")) ; Assume other uppercase names are enum constructors +(enum_variant) @type.enum.variant ((identifier) @constructor (#match? @constructor "^[A-Z]")) |