Add treesitter commands to lazyload
This commit is contained in:
parent
2ac3fc6104
commit
4b3526f81b
|
@ -1,5 +1,13 @@
|
||||||
return {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
|
cmd = {
|
||||||
|
"TSEnable",
|
||||||
|
"TSToggle",
|
||||||
|
"TSBufEnable",
|
||||||
|
"TSBufToggle",
|
||||||
|
"TSInstall",
|
||||||
|
"TSUpdate",
|
||||||
|
},
|
||||||
config = function() require("nvim-treesitter.configs").setup(require "config.treesitter") end,
|
config = function() require("nvim-treesitter.configs").setup(require "config.treesitter") end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue