nixos/config/nvim/lua/plugins/treesitter.lua
2023-02-21 17:31:20 +00:00

14 lines
339 B
Lua

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