Skip to content

How do I use mini.deps instead of cloning the entire mini.nvim repository. #1175

Closed Answered by echasnovski
231tr0n asked this question in Q&A
Discussion options

You must be logged in to vote

Every now and then I get this error. It is inconsistent though.

I am not sure what this is about. I tried :DepsUpdate several times after several restarts with the following 'init.lua' and everything worked as expected:

-- MiniDeps auto download and configure setup
local path_package = vim.fn.stdpath("data") .. "/site/"
local mini_path = path_package .. "pack/deps/start/mini.deps"
if not vim.uv.fs_stat(mini_path) then
	vim.cmd('echo "Installing `mini.deps`" | redraw')
	local clone_cmd = {
		"git",
		"clone",
		"--filter=blob:none",
		"https://github.com/echasnovski/mini.deps",
		mini_path,
	}
	vim.fn.system(clone_cmd)
	vim.cmd('echo "Installed `mini.deps`" | redraw')
	vim.cmd("packadd m…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@231tr0n
Comment options

@231tr0n
Comment options

@echasnovski
Comment options

Answer selected by 231tr0n
@231tr0n
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants