nvim.d/nvim/lua/plugins/config/treesitter.lua
Dan Anglin 0f18fb7cc5
fix: rename the config directory to nvim
Renamed the configuration directory to nvim so that, when extracted, the
correct directory is created.

Fixes linux-home/nvim.d#2
2023-01-16 19:13:25 +00:00

24 lines
339 B
Lua

local ok, treesitter = pcall(require, "nvim-treesitter.configs")
if not ok then
return
end
treesitter.setup {
ensure_installed = {
"bash",
"go",
"gomod",
"hcl",
"json",
"lua",
"make",
"python",
"yaml",
},
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}