aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@proton.me>2023-06-03 23:03:09 -0500
committerGitHub <noreply@github.com>2023-06-04 00:03:09 -0400
commit48f4f3ead16e59d886f2109dd796773c37dd713e (patch)
tree657c0e60ccb7027fb1988274f5c2576b97efa5d6 /queries
parentfix(gleam): minor indent fixes (diff)
downloadnvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.tar
nvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.tar.gz
nvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.tar.bz2
nvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.tar.lz
nvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.tar.xz
nvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.tar.zst
nvim-treesitter-48f4f3ead16e59d886f2109dd796773c37dd713e.zip
feat(comment): add support for URIs
https and https links are recognized now ref https://github.com/stsewd/tree-sitter-comment/pull/21
Diffstat (limited to 'queries')
-rw-r--r--queries/comment/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/comment/highlights.scm b/queries/comment/highlights.scm
index 2161cb808..c5e98669f 100644
--- a/queries/comment/highlights.scm
+++ b/queries/comment/highlights.scm
@@ -39,3 +39,5 @@
; Issue number (#123)
("text" @number
(#lua-match? @number "^#[0-9]+$"))
+
+((uri) @text.uri @nospell)