dotfiles/nvim/lua/pluginconf/treesitter.lua
2021-05-11 15:43:29 +02:00

21 lines
452 B
Lua

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
}
}