Add fzf, telescope and diffview to neogit

This commit is contained in:
Vladan Popovic 2024-09-23 22:49:35 +02:00
parent 4c5afbe2b2
commit 772a9b908f

View file

@ -144,17 +144,17 @@ neogit.setup {
integrations = { integrations = {
-- If enabled, use telescope for menu selection rather than vim.ui.select. -- If enabled, use telescope for menu selection rather than vim.ui.select.
-- Allows multi-select and some things that vim.ui.select doesn't. -- Allows multi-select and some things that vim.ui.select doesn't.
telescope = nil, telescope = true,
-- Neogit only provides inline diffs. If you want a more traditional way to look at diffs, you can use `diffview`. -- Neogit only provides inline diffs. If you want a more traditional way to look at diffs, you can use `diffview`.
-- The diffview integration enables the diff popup. -- The diffview integration enables the diff popup.
-- --
-- Requires you to have `sindrets/diffview.nvim` installed. -- Requires you to have `sindrets/diffview.nvim` installed.
diffview = nil, diffview = true,
-- If enabled, uses fzf-lua for menu selection. If the telescope integration -- If enabled, uses fzf-lua for menu selection. If the telescope integration
-- is also selected then telescope is used instead -- is also selected then telescope is used instead
-- Requires you to have `ibhagwan/fzf-lua` installed. -- Requires you to have `ibhagwan/fzf-lua` installed.
fzf_lua = nil, fzf_lua = true,
}, },
sections = { sections = {
-- Reverting/Cherry Picking -- Reverting/Cherry Picking