mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-03-24 02:40:50 -05:00
This commit is contained in:
parent
7000c3a405
commit
e9d4373ddc
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ M.is_jj_diffedit_open = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
M.diffedit = function(opts)
|
M.diffedit = function(opts)
|
||||||
vim.fn.jobstart('jj diffedit --tool diffview-new ' .. opts.args)
|
opts = opts or { args = '' }
|
||||||
|
vim.fn.jobstart('jj diffedit --tool difftool ' .. opts.args)
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.api.nvim_create_user_command('Diffedit', M.diffedit, { nargs = '*' })
|
vim.api.nvim_create_user_command('Diffedit', M.diffedit, { nargs = '*' })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue