nix-config/roles/neovim/files/lua/opdavies/treesitter.lua
Oliver Davies 8916e90050 refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning
so that everything can be managed in one place, and add a role for each
piece of software.
2022-01-06 01:04:14 +00:00

18 lines
308 B
Lua

local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
return
end
configs.setup {
context_commenting = {
enable = true
},
ensure_installed = "maintained",
highlight = {
enable = true,
},
indent = {
disable = { "yaml" },
enable = true,
}
}