Skip to content

Commit

Permalink
fix(nvim): restore fzf changed files actions / icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lanej committed Apr 21, 2024
1 parent 1f7e1aa commit 139aa74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/lua/fzfconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ end, { noremap = true, silent = true })

-- https://github.com/ibhagwan/fzf-lua/wiki/Advanced#keybind-handlers
vim.keymap.set({ 'n' }, '<leader>cf', function()
require 'fzf-lua'.fzf_exec(
"git diff $(git merge-base --fork-point origin/master) --name-only --diff-filter=AM",
require 'fzf-lua'.files(
{
cmd = "git diff $(git merge-base --fork-point origin/master) --name-only --diff-filter=AM",
actions = require("fzf-lua").defaults.actions.files,
preview =
"echo {} | xargs -n 1 -I {} git diff $(git merge-base --fork-point origin/master) --shortstat --no-prefix -U25 -- {} | delta",
Expand Down

0 comments on commit 139aa74

Please sign in to comment.