mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-09-18 22:52:39 +00:00
35 lines
501 B
Lua
35 lines
501 B
Lua
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
configs.setup({
|
|
ensure_installed = {
|
|
"lua",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"bash",
|
|
"python",
|
|
"go",
|
|
"gomod",
|
|
"gowork",
|
|
"json",
|
|
"yaml",
|
|
},
|
|
highlight = {
|
|
enable = true,
|
|
disable = { "css" },
|
|
},
|
|
autopairs = {
|
|
enable = true,
|
|
},
|
|
indent = {
|
|
enable = true,
|
|
disable = { "python", "css" },
|
|
},
|
|
context_commentstring = {
|
|
enable = true,
|
|
enable_autocmd = false,
|
|
},
|
|
})
|