Files
dotfiles/neovim/.config/nvim/after/plugin/treesitter.lua

42 lines
568 B
Lua

require("nvim-treesitter.configs").setup({
ensure_installed = {
"bash",
"c",
"cmake",
"comment",
"cpp",
"css",
"dockerfile",
"go",
"gomod",
"graphql",
"html",
"javascript",
"jsdoc",
"json",
"jsonc",
"lua",
"make",
"markdown",
"prisma",
"python",
"rust",
"scss",
"svelte",
"toml",
"tsx",
"typescript",
"vim",
"yaml",
},
highlight = {
enable = true,
},
context_commentstring = {
enable = true,
},
autotag = {
enable = true,
},
})