diff options
| author | Ćukasz Niemier <lukasz@niemier.pl> | 2021-11-02 18:38:36 +0100 |
|---|---|---|
| committer | Santos Gallegos <stsewd@protonmail.com> | 2021-11-12 13:42:36 -0500 |
| commit | 6372b689eb707bb8ef125445d5c11782edc11485 (patch) | |
| tree | 2e8f832f08189d2cf3a3e1c99b405147a9b1f718 | |
| parent | fdcd0edf24ea23ebd2e82899a1401ef1f9f05872 (diff) | |
fix: use more specific identifier check
| -rw-r--r-- | queries/elixir/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/elixir/highlights.scm b/queries/elixir/highlights.scm index 1a93a768..2553ba6c 100644 --- a/queries/elixir/highlights.scm +++ b/queries/elixir/highlights.scm @@ -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) |
