nvchad_neovim/lua/configs/treesitter.lua

34 lines
549 B
Lua

local options = {
ensure_installed = {
"bash",
"c",
"cmake",
"cpp",
"fish",
"go",
"gomod",
"gosum",
"gotmpl",
"gowork",
"lua",
"luadoc",
"make",
"markdown",
"printf",
"python",
"toml",
"vim",
"vimdoc",
"yaml",
},
highlight = {
enable = true,
use_languagetree = true,
},
indent = { enable = true },
}
require("nvim-treesitter.configs").setup(options)