add yadm to fugitive config
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
return {
|
return {
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
|
dependencies = {
|
||||||
|
'purarue/yadm-git.vim',
|
||||||
|
config = function()
|
||||||
|
vim.g.yadm_git_enabled = 1
|
||||||
|
vim.g.yadm_git_fugitive_enabled = 1
|
||||||
|
vim.g.yadm_git_gutter_enabled = 1
|
||||||
|
vim.g.yadm_repo_path = '~/.local/share/yadm/repo.git/'
|
||||||
|
end
|
||||||
|
},
|
||||||
cmd = {
|
cmd = {
|
||||||
'Git',
|
'Git',
|
||||||
'Gdiffsplit',
|
'Gdiffsplit',
|
||||||
@@ -12,4 +21,4 @@ return {
|
|||||||
'GDelete',
|
'GDelete',
|
||||||
'GBrowse',
|
'GBrowse',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user