2022-05-02 15:12:45 +01:00
|
|
|
local ok, treesitter = pcall(require, "nvim-treesitter.configs")
|
|
|
|
|
|
|
|
if not ok then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
treesitter.setup {
|
2022-03-26 20:02:55 +00:00
|
|
|
ensure_installed = {
|
|
|
|
"bash",
|
|
|
|
"go",
|
2022-03-31 04:39:47 +01:00
|
|
|
"gomod",
|
2022-03-30 19:25:07 +01:00
|
|
|
"hcl",
|
|
|
|
"json",
|
2022-03-26 20:02:55 +00:00
|
|
|
"lua",
|
2022-03-30 19:25:07 +01:00
|
|
|
"make",
|
2022-03-26 20:02:55 +00:00
|
|
|
"python",
|
2022-03-30 19:25:07 +01:00
|
|
|
"yaml",
|
2023-04-11 07:36:36 +01:00
|
|
|
"terraform",
|
|
|
|
"vimdoc",
|
2022-03-26 20:02:55 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
highlight = {
|
|
|
|
enable = true,
|
|
|
|
additional_vim_regex_highlighting = false,
|
|
|
|
},
|
|
|
|
}
|