Skip to content

Commit

Permalink
fix(bat): adjust bat default cmd batcat/bat (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaowjit authored and ibhagwan committed Dec 17, 2023
1 parent 209e940 commit f2bec28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/fzf-lua/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,17 @@ M.defaults = {
_ctor = previewers.fzf.cmd,
},
bat = {
cmd = "bat",
cmd = vim.fn.executable("batcat") and "batcat" or "bat",
args = "--color=always --style=numbers,changes",
_ctor = previewers.fzf.bat_async,
},
bat_native = {
cmd = "bat",
cmd = vim.fn.executable("batcat") and "batcat" or "bat",
args = "--color=always --style=numbers,changes",
_ctor = previewers.fzf.bat,
},
bat_async = {
cmd = "bat",
cmd = vim.fn.executable("batcat") and "batcat" or "bat",
args = "--color=always --style=numbers,changes",
_ctor = previewers.fzf.bat_async,
},
Expand Down

0 comments on commit f2bec28

Please sign in to comment.