use build opt instead of run

This commit is contained in:
siduck 2023-01-26 08:58:44 +05:30
parent 2b94bb92e0
commit 86bb1413e4
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ local plugins = {
require("core.utils").lazy_load "nvim-treesitter"
end,
cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSEnable", "TSDisable", "TSModuleInfo" },
run = ":TSUpdate",
build = ":TSUpdate",
config = function()
require "plugins.configs.treesitter"
end,