Update config

This commit is contained in:
ant 2023-08-15 19:10:32 +02:00
parent 970a7c22e1
commit 88aff46b8e
4 changed files with 124 additions and 2 deletions

View file

@ -0,0 +1,12 @@
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
-- parser_config.nim = {
-- install_info = {
-- url = "~/git/tree-sitter-nim", -- local path or git repo
-- files = {"src/parser.c", "src/scanner.cc"}, -- 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
-- -- requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c
-- },
-- filetype = "nim", -- if filetype does not match the parser name
-- }