update difftool name
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
|
||||
|
||||
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
|
||||
|
||||
vim.api.nvim_create_user_command('Diffedit', M.diffedit, { nargs = '*' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue