mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
feat(html): set url attribute for HTML URLs
This commit is contained in:
parent
205102f372
commit
b1e88723ee
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@
|
||||||
(attribute_name) @_attr
|
(attribute_name) @_attr
|
||||||
(quoted_attribute_value
|
(quoted_attribute_value
|
||||||
(attribute_value) @string.special.url))
|
(attribute_value) @string.special.url))
|
||||||
(#any-of? @_attr "href" "src"))
|
(#any-of? @_attr "href" "src")
|
||||||
|
(#set! @string.special.url "url" @string.special.url))
|
||||||
|
|
||||||
[
|
[
|
||||||
"<"
|
"<"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue