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

@ -51,7 +51,7 @@
"revision": "399605a02bcd5daa309ce63a6459c600dce3473f"
},
"comment": {
"revision": "f08e7d44b2923e9da2bf487a2f365d08677d368e"
"revision": "ef429992748f89e176243411e94b8ffc8777d118"
},
"commonlisp": {
"revision": "c7e814975ab0d0d04333d1f32391c41180c58919"

View file

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