nixos/config/nvim/lua/plugins/diffview.lua

17 lines
392 B
Lua
Raw Normal View History

return {
"sindrets/diffview.nvim",
dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons" },
cmd = {
"DiffviewOpen",
"DiffviewFileHistory",
},
config = function()
require("diffview").setup {
enhanced_diff_hl = true,
file_panel = {
listing_style = "list",
},
}
end,
}