dotfiles/.config/nvim/lua/pluginconf/treesitter.lua

22 lines
452 B
Lua
Raw Normal View History

2021-05-11 15:43:29 +02:00
local configs = require "nvim-treesitter.configs"
local parsers = require "nvim-treesitter.parsers"
local parser_config = parsers.get_parser_configs()
parser_config.haxe = {
install_info = {
url = "https://github.com/vantreeseba/tree-sitter-haxe",
files = {"src/parser.c"},
branch = "main"
},
filetype = "haxe"
}
configs.setup {
ensure_installed = { "haxe" },
highlight = {
enable = true
}
}