summaryrefslogtreecommitdiff
path: root/runtime/queries/rust/highlights.scm
Commit message (Collapse)AuthorAge
* Add precise rust queries for use, mod, as (#1339)Gokul Soumya2021-12-23
| | | | | | - Differentiates between `as` keyword as a binary type cast operator and import renamer. - `mod` and `use` are now under `@keyword.control.import`, but `mod` is a `@keyword` if used as `mod name;`.
* Improve rust syntax highlighting (#1295)Gokul Soumya2021-12-20
| | | | | - Highlight fragment specifiers (expr, tt, in macro definitions) with @type. - Highlight attributes as macros
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* Improve docs, fix up a few highlight scopesBlaž Hrastnik2021-09-07
|
* Improve grammar definitionsBlaž Hrastnik2021-09-06
|
* gruvbox theme changes (#594)oberblastmeister2021-08-18
| | | | | | | | | * changed some gruvbox highlights * more stuff including cursors * use property instead * use variable.property
* Rewritten Rust `highlights.scm` (#425)Kirawi2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rewrote Rust highlights.scm * wip * wip * wip * wip * fixed type highlighting * wip * rewrite again * moved operators * missing newline * missing newline * update book * fix constructor highlighting * fix constructor highlighting * fix const highlighting * better constructor highlighting * remove dup, bug was my locals.scm file * fixed docs * merge * fixed for highlighting * add yield * remove yield * added yield back * fixed yield highlighting * unecessary
* VSCode Dark+ Theme (#414)Kirawi2021-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Rust: Highlight crate namespace, categorize `mut`notoria2021-06-04
|
* Rust: Add keyword `async`, match the entire macronotoria2021-06-04
|
* Adjust highlighting for rust.Blaž Hrastnik2021-05-16
|
* Highlight metavariables ($var) inside rust macros.Blaž Hrastnik2021-04-14
|
* Rust: Highlight 'crate' as a keyword.Blaž Hrastnik2021-04-13
|
* queries: rust: highlight number constants correctly.Blaž Hrastnik2021-04-08
|
* Import tree sitter queries.Blaž Hrastnik2021-04-08