chore: don't reasign MiniDeps.* in plugin definitions
This commit is contained in:
@@ -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 },
|
||||
|
Reference in New Issue
Block a user