Add treesitter commands to lazyload

This commit is contained in:
Evie Litherland-Smith 2023-02-21 17:31:20 +00:00
parent 2ac3fc6104
commit 4b3526f81b

View file

@ -1,5 +1,13 @@
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,
}