From bf1475df7597977fc2c501ece9e4afb64b757001 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Thu, 16 Jul 2020 12:59:35 +0200 Subject: Add jsdoc parser --- lua/nvim-treesitter/parsers.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index f4244ddd1..42c41870e 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 } -- cgit v1.2.3-70-g09d2