diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-03-12 11:21:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-12 11:21:46 -0500 |
| commit | e4083fc8e11e6585f53d62eb71778cc2af464fad (patch) | |
| tree | 347c6f8cd36ce9d786c817697e8ac59c0a6bd4a5 /lua/nvim-treesitter/parsers.lua | |
| parent | 3b8c2ea492917fcb3c0e88ad6682dbd355cc0644 (diff) | |
Add comment parser to highlight comment tags (#893)
Closes #236
Diffstat (limited to 'lua/nvim-treesitter/parsers.lua')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 8ce9552f..a1727fc1 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -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", |
