Add comment parser to highlight comment tags (#893)

Closes #236
This commit is contained in:
Santos Gallegos 2021-03-12 11:21:46 -05:00 committed by GitHub
parent 3b8c2ea492
commit e4083fc8e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 126 additions and 3 deletions

View file

@ -85,6 +85,10 @@ hlmap["text.title"] = "TSTitle"
hlmap["text.literal"] = "TSLiteral"
hlmap["text.uri"] = "TSURI"
hlmap["text.note"] = "TSNote"
hlmap["text.warning"] = "TSWarning"
hlmap["text.danger"] = "TSDanger"
hlmap["type"] = "TSType"
hlmap["type.builtin"] = "TSTypeBuiltin"

View file

@ -403,6 +403,14 @@ list.regex = {
maintainers = {"@theHamsta"},
}
list.comment = {
install_info = {
url = "https://github.com/stsewd/tree-sitter-comment",
files = { "src/parser.c", "src/scanner.c" },
},
maintainers = {"@stsewd"},
}
list.jsdoc = {
install_info = {
url = "https://github.com/tree-sitter/tree-sitter-jsdoc",