fix: Outdated Rust queries after TS update

Ref: 3ddebf46e6
This commit is contained in:
Alexis (Poliorcetics) Bourget 2022-11-11 23:51:58 +01:00 committed by Michael Davis
parent 53b70d821e
commit e232333d4a
3 changed files with 6 additions and 5 deletions

View File

@ -271,9 +271,9 @@
; ---
; Macros
; ---
(meta_item
(attribute
(identifier) @function.macro)
(attr_item
(attribute
[
(identifier) @function.macro
(scoped_identifier

View File

@ -51,13 +51,14 @@
.
(_) @expr-start
value: (_) @indent
alternative: (_)? @indent
(#not-same-line? @indent @expr-start)
(#set! "scope" "all")
)
(if_let_expression
(if_expression
.
(_) @expr-start
value: (_) @indent
condition: (_) @indent
(#not-same-line? @indent @expr-start)
(#set! "scope" "all")
)

View File

@ -42,7 +42,7 @@
(; #[test]
(attribute_item
(meta_item
(attribute
(identifier) @_test_attribute))
; allow other attributes like #[should_panic] and comments
[