use build opt instead of run

This commit is contained in:
siduck 2023-01-26 08:58:44 +05:30
parent 2b94bb92e0
commit 86bb1413e4

View file

@ -57,7 +57,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,