- shows word-diff for filetypes
diffandgitcommit - uses
reversehighlights
useful in following scenarios:
- you frequently work with diff files
- you are using
git commit -v - you use
git addto interactively editing patches - useful in undo picker from picker.nvim
- unfortunately this does not work with snacks undo picker as the preview filetype is not
diff
- unfortunately this does not work with snacks undo picker as the preview filetype is not
santhosh-tekuri/wordiff.nvim
https://github.com/santhosh-tekuri/wordiff.nvim
call setup function without any arguments
require("wordiff").setup()