mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(markdown): don't set link metadata twice
Otherwise the same link will be opened twice when the cursor is on the link text itself.
This commit is contained in:
parent
84836f08ef
commit
36b78d112b
1 changed files with 0 additions and 3 deletions
|
|
@ -91,9 +91,6 @@
|
|||
(email_autolink)
|
||||
] @markup.link.url @nospell
|
||||
|
||||
((link_destination) @_url
|
||||
(#set! @_url url @_url))
|
||||
|
||||
((uri_autolink) @_url
|
||||
(#offset! @_url 0 1 0 -1)
|
||||
(#set! @_url url @_url))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue