feat(comment): add support for URIs

https and https links are recognized now
ref https://github.com/stsewd/tree-sitter-comment/pull/21
This commit is contained in:
Santos Gallegos 2023-06-03 23:03:09 -05:00 committed by GitHub
parent f84de0d6cd
commit 48f4f3ead1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -39,3 +39,5 @@
; Issue number (#123)
("text" @number
(#lua-match? @number "^#[0-9]+$"))
((uri) @text.uri @nospell)