local parser_config = require("nvim-treesitter.parsers").get_parser_configs() parser_config.nim = { install_info = { url = "https://github.com/alaviss/tree-sitter-nim", files = { "src/parser.c", "src/scanner.cc" }, branch = "0.0.3", generate_requires_npm = false, requires_generate_from_grammar = false, }, } vim.treesitter.language.register("nim", "nimble") vim.treesitter.language.register("nim", "nims")