diff options
| author | kiyan42 <yazdani.kiyan@protonmail.com> | 2020-09-05 21:58:21 +0200 |
|---|---|---|
| committer | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-09-06 17:00:41 +0200 |
| commit | feead20c0413e89045c494b887d2fb755b1c59f9 (patch) | |
| tree | a7b0e8b12909f34ddd3f84ed53a6f4df9288ec40 /queries | |
| parent | 881eff1c600f0c7fd555dd504ccf4f8c21f44a24 (diff) | |
change @meta to @type for derive directives because @meta is not defined
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/rust/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index 4ca8e723..b31acdcd 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -55,9 +55,9 @@ ;; Assume that all `#[derive]` arguments are types (meta_item - (identifier) @meta + (identifier) @type arguments: (meta_arguments (meta_item (identifier) @type)) - (#eq? @meta "derive")) + (#eq? @type "derive")) (macro_invocation macro: (identifier) @function.macro |
