mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -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
|
(unary_operator
|
||||||
operator: "@"
|
operator: "@"
|
||||||
operand: (call
|
operand: (call
|
||||||
target: ((identifier) @_identifier (#match? @_identifier "doc$")) @comment
|
target: ((identifier) @_identifier (#any-of? @_identifier "moduledoc" "typedoc" "shortdoc" "doc")) @comment
|
||||||
(arguments [
|
(arguments [
|
||||||
(string)
|
(string)
|
||||||
(boolean)
|
(boolean)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue