use build opt instead of run for :TSUpdate
This commit is contained in:
parent
7e8bf34524
commit
047d9005a2
|
|
@ -29,7 +29,7 @@ local plugins = {
|
||||||
require("core.utils").lazy_load "nvim-treesitter"
|
require("core.utils").lazy_load "nvim-treesitter"
|
||||||
end,
|
end,
|
||||||
cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSEnable", "TSDisable", "TSModuleInfo" },
|
cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSEnable", "TSDisable", "TSModuleInfo" },
|
||||||
run = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
config = function()
|
config = function()
|
||||||
require "plugins.configs.treesitter"
|
require "plugins.configs.treesitter"
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
Reference in New Issue