auto enable treesitter highlighting

writing
Nick Zana 2 years ago
parent 4acd1eb969
commit 0acf664f81

@ -1,5 +1,10 @@
local parser_config = require "nvim-treesitter.parsers".get_parser_configs() require('nvim-treesitter.configs').setup {
parser_config.hare = { highlight = {
enable = true,
}
}
require('nvim-treesitter.parsers').get_parser_configs().hare = {
install_info = { install_info = {
url = "https://git.sr.ht/~ecmma/tree-sitter-hare", -- local path or git repo url = "https://git.sr.ht/~ecmma/tree-sitter-hare", -- local path or git repo
files = {"src/parser.c"}, files = {"src/parser.c"},

Loading…
Cancel
Save