fix: use more specific identifier check

This commit is contained in:
Łukasz Niemier 2021-11-02 18:38:36 +01:00 committed by Santos Gallegos
parent fdcd0edf24
commit 6372b689eb

View file

@ -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)