aboutsummaryrefslogtreecommitdiffstats
path: root/queries/rust
Commit message (Collapse)AuthorAgeFilesLines
* folds(rust): Fold trait definitions (#1582)agarof2021-07-181-0/+1
|
* highlights(rust): Reorder macro queriesSergio Alejandro Vargas2021-07-081-6/+10
| | | | | | | Derive macros have to be defined before attribute macros to highlight them properly. See #570
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* rust: inject html to html! macrotami52021-06-211-0/+9
|
* Rust: fix macros highlightsSantos Gallegos2021-06-111-7/+10
| | | | | | - The derive query was incorrect, it was only matching `#[derive(derive)]` - Macros were being highlighted as keywords - Procedural macros symbols weren't highlighted (`#`, `#!`)
* highlights(rust): highlight fields with shorthand_field_initializerStephan Seitz2021-05-241-0/+2
|
* Rust: highlight constantsSantos Gallegos2021-05-221-1/+3
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* highlights(rust): Add operator "?"Stephan Seitz2021-04-061-0/+1
|
* highlights(rust): Highlight dereferenced closure parametersStephan Seitz2021-03-261-1/+1
|
* rust: tread `,` as a punctuation delimiterYuki Ito2021-03-221-0/+1
|
* Rust: add mod_item to foldsSantos Gallegos2021-03-151-3/+3
|
* Rust: Add variable and closure parameter highlightsRohit Pradhan2021-03-151-0/+2
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+5
| | | Closes #236
* fixed rust match indentsBrian Shu2021-03-011-0/+1
|
* feat: use @ignore for comments and multiline stringselianiva2021-03-011-0/+5
|
* fix: rust use_list + tuple_expression indentelianiva2021-02-081-0/+2
|
* Use function keyword highlight group for Rust's fnCédric Barreteau2021-01-201-1/+2
|
* feat: added more indent querieselianiva2021-01-141-0/+26
|
* started branchBrian Shu2021-01-073-0/+35
|
* Rust: highlight bracketsSantos Gallegos2021-01-041-6/+8
|
* fix(highlights): Add TSNamespace highlightStephan Seitz2020-10-101-5/+31
| | | | | | | | | Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516
* Remove textobjects moduleStephan Seitz2020-10-041-73/+0
|
* Add @keyword.operator for operators that are English words and add ↵Stephan Seitz2020-09-191-1/+4
| | | | @exception for Java/JS
* change @meta to @type for derive directives because @meta is not definedkiyan422020-09-061-2/+2
|
* Change self back to variable.builtinAvi Dessauer2020-08-201-1/+1
|
* Deduplicate queries/rust/highlights.scmAvi Dessauer2020-08-201-1/+0
| | | Co-authored-by: TravonteD <tman1300@aol.com>
* Highlight operators + improve consistency with Vim syntaxAvi Dessauer2020-08-201-3/+37
|
* fix(queries): use vim-match for non lua regexesSteven Sojka2020-08-161-1/+1
|
* highlights(rust): fix some type highlights.Thomas Vigouroux2020-08-071-0/+3
|
* highlights(rust): add async/await keywordsThomas Vigouroux2020-08-071-0/+2
|
* Attach kind of reference to query result instead of using subfieldsStephan Seitz2020-07-201-2/+4
| | | | | 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.
* go loop and func literal, rust textobject supportwinwisely2682020-07-171-0/+73
|
* Add rust locals.scmStephan Seitz2020-07-131-0/+102
|
* Add Rust queries (#57)Thomas Vigouroux2020-07-081-0/+167
* queries(rust): add highlight query. Also slightly changes the way constructors are highlighted. * highglight(rust): use new query syntax