mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
HTML: capture src attributes as text.uri
This commit is contained in:
parent
b0e1520f47
commit
91a89aa408
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
((attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value (attribute_value) @text.uri))
|
||||
(#eq? @_attr "href"))
|
||||
(#match? @_attr "^(href|src)$"))
|
||||
|
||||
"=" @operator
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue