summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--lua/nvim-treesitter/parsers.lua8
2 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 95efa6cc..e4c336d0 100644
--- a/README.md
+++ b/README.md
@@ -282,6 +282,7 @@ List of currently supported languages:
- [ ] nix
- [ ] markdown
- [x] regex (maintained by @theHamsta)
+- [ ] jsdoc
## User Query Extensions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index f4244ddd..42c41870 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -207,6 +207,7 @@ list.nix = {
}
}
+-- Parsers for injections
list.regex = {
install_info = {
url = "https://github.com/tree-sitter/tree-sitter-regex",
@@ -214,6 +215,13 @@ list.regex = {
}
}
+list.jsdoc = {
+ install_info = {
+ url = "https://github.com/tree-sitter/tree-sitter-jsdoc",
+ files = { "src/parser.c" }
+ }
+}
+
local M = {
list = list
}