Add cmd condition to load treesitter
This commit is contained in:
parent
2a97cc76d6
commit
fc8fea536f
|
@ -2,6 +2,7 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
version = false,
|
||||
build = ":TSUpdate",
|
||||
cmd = {"TSUpdate", "TSInstall"},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
dependencies = "nvim-treesitter/nvim-treesitter-refactor",
|
||||
config = function(_, opts)
|
||||
|
|
Loading…
Reference in a new issue