mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
change @meta to @type for derive directives because @meta is not defined
This commit is contained in:
parent
881eff1c60
commit
feead20c04
1 changed files with 2 additions and 2 deletions
|
|
@ -55,9 +55,9 @@
|
||||||
|
|
||||||
;; Assume that all `#[derive]` arguments are types
|
;; Assume that all `#[derive]` arguments are types
|
||||||
(meta_item
|
(meta_item
|
||||||
(identifier) @meta
|
(identifier) @type
|
||||||
arguments: (meta_arguments (meta_item (identifier) @type))
|
arguments: (meta_arguments (meta_item (identifier) @type))
|
||||||
(#eq? @meta "derive"))
|
(#eq? @type "derive"))
|
||||||
|
|
||||||
(macro_invocation
|
(macro_invocation
|
||||||
macro: (identifier) @function.macro
|
macro: (identifier) @function.macro
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue