Files
dotfiles/.config/nvim/lua/plugins/treesitter.lua
T
2023-06-05 12:40:08 -04:00

32 lines
513 B
Lua

local status, treesitter = pcall(require, "nvim-treesitter.configs")
if not status then
return
end
treesitter.setup({
highlight = {
enable = true,
},
indent = { enable = true },
autotag = { enable = true },
ensure_installed = {
"json",
"javascript",
"typescript",
"yaml",
"html",
"css",
"markdown",
"markdown_inline",
"graphql",
"bash",
"lua",
"vim",
"dockerfile",
"gitignore",
"gitcommit",
"python",
},
auto_install = true,
})