Skip to content

Commit

Permalink
fix: Outdated Rust queries after TS update
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Nov 11, 2022
1 parent 2760c94 commit 2492362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/queries/rust/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@
; ---
; Macros
; ---
(meta_item
(attribute
(identifier) @function.macro)
(attr_item
(attribute
[
(identifier) @function.macro
(scoped_identifier
Expand Down
2 changes: 1 addition & 1 deletion runtime/queries/rust/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

(; #[test]
(attribute_item
(meta_item
(attribute
(identifier) @_test_attribute))
; allow other attributes like #[should_panic] and comments
[
Expand Down

0 comments on commit 2492362

Please sign in to comment.