chore: don't reasign MiniDeps.* in plugin definitions

This commit is contained in:
2025-10-08 01:24:49 +02:00
parent a9488e8751
commit 62699be903
6 changed files with 11 additions and 22 deletions

View File

@@ -1,8 +1,7 @@
local add, now, later = MiniDeps.add, MiniDeps.now, MiniDeps.later
local now_if_args = vim.fn.argc(-1) > 0 and now or later
local now_if_args = vim.fn.argc(-1) > 0 and MiniDeps.now or MiniDeps.later
now_if_args(function()
add({
MiniDeps.add({
source = "nvim-treesitter/nvim-treesitter",
checkout = "main",
hooks = { post_checkout = function() vim.cmd("TSUpdate") end },