summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/yadm.lua
blob: de6389e1f5f5def4d631b34c94fb64199b559316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
return {
	"robstumborg/yadm.nvim",
	dependencies = "tpope/vim-fugitive",
	-- Only load if yadm is installed
	cond = function()
		return vim.fn.executable("yadm") == 1
	end,
	config = function()
		require("yadm").setup({
			yadm_dir = vim.fn.expand("$HOME/.local/share/yadm/repo.git"),
		})
	end,
}