use build opt instead of run for :TSUpdate

This commit is contained in:
krolyxon 2023-01-26 09:04:56 +05:30
parent 7e8bf34524
commit 047d9005a2
1 changed files with 1 additions and 1 deletions

View File

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