nixos/config/nvim/lua/plugins/treesitter.lua
2023-03-03 11:30:01 +00:00

17 lines
381 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")
-- vim.cmd "TSUpdate"
end,
}