mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
feat(wxml): use #offset! to make queries against the url more precise
This commit is contained in:
parent
1bb822e73a
commit
2f147d664e
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@
|
|||
(attribute_name) @_attr
|
||||
(quoted_attribute_value) @string.special.url)
|
||||
(#any-of? @_attr "href" "src")
|
||||
(#set! @string.special.url url @string.special.url))
|
||||
(#offset! @string.special.url 0 1 0 -1))
|
||||
|
||||
; Entity references
|
||||
(entity) @string.escape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue