You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
551 B
Lua
17 lines
551 B
Lua
require('nvim-treesitter.configs').setup {
|
|
highlight = {
|
|
enable = true,
|
|
}
|
|
}
|
|
|
|
require('nvim-treesitter.parsers').get_parser_configs().hare = {
|
|
install_info = {
|
|
url = "https://git.sr.ht/~ecmma/tree-sitter-hare", -- local path or git repo
|
|
files = {"src/parser.c"},
|
|
-- optional entries:
|
|
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 = "ha", -- if filetype does not match the parser name
|
|
}
|