mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
fix: use more specific identifier check
This commit is contained in:
parent
fdcd0edf24
commit
6372b689eb
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@
|
|||
(unary_operator
|
||||
operator: "@"
|
||||
operand: (call
|
||||
target: ((identifier) @_identifier (#match? @_identifier "doc$")) @comment
|
||||
target: ((identifier) @_identifier (#any-of? @_identifier "moduledoc" "typedoc" "shortdoc" "doc")) @comment
|
||||
(arguments [
|
||||
(string)
|
||||
(boolean)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue