dotfiles/nvim/lua/plugins/treesitter.lua

20 lines
575 B
Lua
Raw Normal View History

-- 0.12 bundles: c, lua, markdown, markdown_inline, query, vim, vimdoc
-- Everything else still needs TSUpdate
2024-10-27 16:21:40 +00:00
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter").setup({
ensure_installed = {
"json", "javascript", "typescript", "tsx",
"yaml", "html", "css",
"bash", "dockerfile", "gitignore",
"python", "hcl", "c",
"markdown", "markdown_inline", "lua", "vim",
},
highlight = { enable = true },
indent = { enable = true },
})
end,
2024-10-27 16:21:40 +00:00
}