nixos/home/tui/config/nvim/lua/plugins/treesitter.lua

17 lines
419 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" },
cmd = {
"TSToggle",
"TSBufEnable",
"TSBufToggle",
"TSInstall",
"TSUpdate",
"TSEnable",
},
config = function() require("nvim-treesitter.configs").setup(require "config.treesitter") end,
dependencies = {
"nvim-treesitter/nvim-treesitter-refactor",
},
}