Commit Graph

9 Commits (ae105812d6c7ec20220d78d453f614438fbc5ba4)

Author SHA1 Message Date
notoria f3a243c6cb Rust: Highlight crate namespace, categorize `mut` 2021-06-04 23:16:33 +09:00
notoria b2b2d430ae Rust: Add keyword `async`, match the entire macro 2021-06-04 10:57:17 +09:00
Blaž Hrastnik 67b037050f Adjust rust indents 2021-05-30 17:13:32 +09:00
Blaž Hrastnik 6e03019a2c Adjust highlighting for rust. 2021-05-16 18:58:27 +09:00
Blaž Hrastnik 4a9d1163e0 Hacky way to specify indent scopes per language via toml configs.
Can't do it via a scm query nicely because it returns an iterator over
all the matches, whereas we want to traverse the tree ourselves.

Can't extract the pattern data from a parsed query either.

Oh well, toml files for now.
2021-05-14 19:21:46 +09:00
Blaž Hrastnik 305a059f58 Highlight metavariables ($var) inside rust macros. 2021-04-14 17:16:45 +09:00
Blaž Hrastnik dfb1ae2d33 Rust: Highlight 'crate' as a keyword. 2021-04-13 17:06:35 +09:00
Blaž Hrastnik 61872de6c0 queries: rust: highlight number constants correctly. 2021-04-08 23:25:54 +09:00
Blaž Hrastnik 71c06c11cb Import tree sitter queries. 2021-04-08 23:25:35 +09:00