Commit graph

10 commits

Author SHA1 Message Date
Avi Dessauer
d2538ab7a7 Change self back to variable.builtin 2020-08-20 09:03:58 +02:00
Avi Dessauer
aacca0abf1 Deduplicate queries/rust/highlights.scm
Co-authored-by: TravonteD <tman1300@aol.com>
2020-08-20 09:03:58 +02:00
Avi Dessauer
df37483e3a Highlight operators + improve consistency with Vim syntax 2020-08-20 09:03:58 +02:00
Steven Sojka
ce43dbf54c fix(queries): use vim-match for non lua regexes 2020-08-16 18:31:56 +02:00
Thomas Vigouroux
6133257ed6 highlights(rust): fix some type highlights. 2020-08-07 15:03:20 +02:00
Thomas Vigouroux
94a5056269 highlights(rust): add async/await keywords 2020-08-07 15:03:20 +02:00
Stephan Seitz
58c6d2a73f Attach kind of reference to query result instead of using subfields
This makes smart_rename work also for types out of the box and we don't
need to search for the path of actual node.
2020-07-20 08:55:53 +02:00
winwisely268
59c084b5d8 go loop and func literal, rust textobject support 2020-07-17 20:44:43 +02:00
Stephan Seitz
a027ffbe82 Add rust locals.scm 2020-07-13 22:25:33 +02:00
Thomas Vigouroux
0d2385407e
Add Rust queries (#57)
* queries(rust): add highlight query.

Also slightly changes the way constructors are highlighted.

* highglight(rust): use new query syntax
2020-07-08 12:35:53 +02:00