diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-02-28 17:48:48 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | b13bb4e2d1f883ba7f84bfaa55ad36ef7110c998 (patch) | |
tree | 5d809bd6d1e96d2541d05693efa1bc974cb568b1 /.config/nvim/plugins/diffview.vim | |
parent | 22c4a31a44efa93d02636a77817f6637d273007a (diff) |
[nvim+git] add diffview
Diffstat (limited to '.config/nvim/plugins/diffview.vim')
-rw-r--r-- | .config/nvim/plugins/diffview.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/plugins/diffview.vim b/.config/nvim/plugins/diffview.vim new file mode 100644 index 0000000..4b9d2f0 --- /dev/null +++ b/.config/nvim/plugins/diffview.vim @@ -0,0 +1,6 @@ +lua <<EOF +require('diffview').setup({}) +EOF + +" close all windows when Diffview is closed +autocmd QuitPre * if &filetype == 'DiffviewFiles' | quitall | endif |