21 lines
381 B
Lua
21 lines
381 B
Lua
local treesitter = require("nvim-treesitter.configs")
|
|
|
|
treesitter.setup({
|
|
ensure_installed = "all",
|
|
auto_install = true,
|
|
highlight = {
|
|
enable = true,
|
|
},
|
|
rainbow = {
|
|
enable = true,
|
|
},
|
|
autopairs = {
|
|
enable = true,
|
|
extended_mode = true,
|
|
},
|
|
context_commentstring = {
|
|
enable = true,
|
|
enable_autocmd = false,
|
|
},
|
|
indent = { enable = true, disable = { "yaml" } },
|
|
})
|