Commit graph

17 commits

Author SHA1 Message Date
Stephan Seitz
853caf5b3d highlights(rust): Add operator "?" 2021-04-06 19:50:23 +02:00
Stephan Seitz
edcac596ce highlights(rust): Highlight dereferenced closure parameters 2021-03-26 20:12:38 +01:00
Yuki Ito
0c12ff67fe rust: tread , as a punctuation delimiter 2021-03-22 07:07:27 +01:00
Rohit Pradhan
0e3dd8d3fa Rust: Add variable and closure parameter highlights 2021-03-15 19:02:39 +01:00
Cédric Barreteau
74b84a66d7 Use function keyword highlight group for Rust's fn 2021-01-20 20:26:35 +01:00
Brian Shu
005a3ca7f1 started branch 2021-01-07 01:31:39 +01:00
Santos Gallegos
3d4662e797 Rust: highlight brackets 2021-01-04 08:22:54 +01:00
Stephan Seitz
45397ebbd9 fix(highlights): Add TSNamespace highlight
Start adding highlights for
     - C++
     - Rust (including other scoped_identifier/scoped_type_identifier fixes)
     - JS (only namespace_import)

Addresses #516
2020-10-10 15:31:51 +02:00
Stephan Seitz
7e3c4f8089 Add @keyword.operator for operators that are English words and add @exception for Java/JS 2020-09-19 07:30:49 +02:00
kiyan42
feead20c04 change @meta to @type for derive directives because @meta is not defined 2020-09-06 17:00:41 +02:00
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
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