mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-10-30 20:29:13 +01:00
38 lines
750 B
Lua
38 lines
750 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,
|
|
},
|
|
|
|
autotag = {
|
|
enable = true,
|
|
},
|
|
|
|
rainbow = {
|
|
enable = true,
|
|
extended_mode = true,
|
|
|
|
colors = {
|
|
"#ff00be",
|
|
"#ff7e00",
|
|
"#64d200",
|
|
"#00e6b6",
|
|
"#00e1ff",
|
|
"#9598ff",
|
|
},
|
|
},
|
|
}
|