wip: new sorters

This commit is contained in:
TJ DeVries
2020-09-01 20:51:05 -04:00
parent 49e25fdc18
commit 4ac50c68ca
6 changed files with 135 additions and 84 deletions

View File

@@ -128,7 +128,7 @@ previewers.vim_buffer_or_bat = previewers.new {
previewers.cat = previewers.new {
setup = function()
local command_string = "cat %s"
if vim.fn.executable("bat") then
if 1 == vim.fn.executable("bat") then
command_string = "bat %s --style=grid --paging=always"
end