Commit af0613d6 authored by Jan Hensel's avatar Jan Hensel 🐧
Browse files

nvim: Add MUD treesitter parser (from local grammar)

parent 9523a586
......@@ -19,3 +19,15 @@ parser_config.spdxtv = {
filetype = "spdx", -- if filetype does not match the parser name
highlight = true,
}
parser_config.mud = {
install_info = {
url = "~/repositories/mud-lsp/parser/tree-sitter-mud", -- local path or git repo
files = {"src/parser.c"},
-- optional entries:
branch = "main", -- default branch in case of git repo if different from master
generate_requires_npm = false, -- if stand-alone parser without npm dependencies
requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c
},
filetype = "mud", -- if filetype does not match the parser name
highlight = true,
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment