mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
docs: add small note in README clarifying custom parser installation (#3625)
This commit is contained in:
parent
68ab44277c
commit
2ad12932a2
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ 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"}, -- note that some parsers also require src/scanner.c or src/scanner.cc
|
||||
-- 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue