mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(ui): added multiple options for diff command
This commit is contained in:
parent
8ad05feef1
commit
7d02da2ff0
6 changed files with 83 additions and 5 deletions
|
@ -50,6 +50,14 @@ M.defaults = {
|
|||
task = "✔ ",
|
||||
},
|
||||
throttle = 20, -- how frequently should the ui process render events
|
||||
diff = {
|
||||
-- diff command <d> can be one of:
|
||||
-- * browser: opens the github compare view. Note that this is always mapped to <K> as well,
|
||||
-- so you can have a different command for diff <d>
|
||||
-- * git: will run git diff and open a buffer with filetype git
|
||||
-- * terminal_git: will open a pseudo terminal with git diff
|
||||
-- * diffview.nvim: will open Diffview to show the diff
|
||||
cmd = "git",
|
||||
},
|
||||
checker = {
|
||||
-- automatically check for plugin updates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue