Commit graph

7 commits

Author SHA1 Message Date
Phạm Huy Hoàng
722617e672 refactor(format): drop extra indentation for field 2024-03-21 15:51:26 +01:00
Pham Huy Hoang
57a8acf0c4 chore: query formatting 2024-01-19 16:58:37 +01:00
Christian Clason
5b90ea2aba feat(locals)!: switch to upstream captures 2024-01-19 16:58:37 +01:00
Christian Clason
e58bbe83f9 lint(locals): use #set! to keep query linter happy 2023-06-22 08:39:17 +02:00
Christian Clason
dd89cafd2b fix(rust): update queries to breaking changes
* `if_let_expression` was removed in https://github.com/tree-sitter/tree-sitter-rust/pull/152
* `attributes` were reworked in
  https://github.com/tree-sitter/tree-sitter-rust/pull/163 (no more
  `meta-item`)
2022-11-05 11:09:54 +01: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
Stephan Seitz
a027ffbe82 Add rust locals.scm 2020-07-13 22:25:33 +02:00