aboutsummaryrefslogtreecommitdiffstats
path: root/queries/markdown
diff options
context:
space:
mode:
authorGustaf Lindstedt <gustaflindstedt@protonmail.com>2022-03-14 19:41:21 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-03-14 21:34:15 +0100
commit01150f50e7e6a2a8f9211d47371fcb0327daa38a (patch)
treec490d96abf1f79ebb77a931dc7051e06a1a0aa39 /queries/markdown
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.tar
nvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.tar.gz
nvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.tar.bz2
nvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.tar.lz
nvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.tar.xz
nvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.tar.zst
nvim-treesitter-01150f50e7e6a2a8f9211d47371fcb0327daa38a.zip
Highlight markdown `uri_autolink` as `@text.uri`
Diffstat (limited to 'queries/markdown')
-rw-r--r--queries/markdown/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm
index a9f268a86..3a88ecedd 100644
--- a/queries/markdown/highlights.scm
+++ b/queries/markdown/highlights.scm
@@ -32,7 +32,10 @@
(strong_emphasis) @text.strong
-(link_destination) @text.uri
+[
+ (link_destination)
+ (uri_autolink)
+] @text.uri
[
(link_label)