mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
fix: Elixir non-doc sigils will no longer be flickering
It also adds support for colouring documentation metadata attributes (ex. `@doc foo: :bar`).
This commit is contained in:
parent
cfce9a58f3
commit
2c2d4d89fd
2 changed files with 27 additions and 31 deletions
|
|
@ -209,10 +209,6 @@
|
||||||
(unary_operator
|
(unary_operator
|
||||||
operator: "@" @comment
|
operator: "@" @comment
|
||||||
operand: (call
|
operand: (call
|
||||||
target: (((identifier) @comment) @_identifier)
|
target: ((identifier) @_identifier)
|
||||||
(arguments [
|
_) @comment
|
||||||
(string) @comment
|
|
||||||
(charlist) @comment
|
|
||||||
(boolean) @comment
|
|
||||||
]))
|
|
||||||
(#any-of? @_identifier "moduledoc" "typedoc" "shortdoc" "doc"))
|
(#any-of? @_identifier "moduledoc" "typedoc" "shortdoc" "doc"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue