diff --git a/README.md b/README.md index 3a03fc448..41e80c387 100644 --- a/README.md +++ b/README.md @@ -344,7 +344,11 @@ local parser_config = require "nvim-treesitter.parsers".get_parser_configs() parser_config.zimbu = { install_info = { url = "~/projects/tree-sitter-zimbu", -- local path or git repo - files = {"src/parser.c"} + 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 = "zu", -- if filetype does not agrees with parser name used_by = {"bar", "baz"} -- additional filetypes that use this parser