man previewer: 'col -b' -> 'col -bx'

This commit is contained in:
bhagwan 2021-10-13 14:27:16 -07:00
parent 9b5fd877e0
commit c0d533f4d0
4 changed files with 4 additions and 4 deletions

View File

@ -348,7 +348,7 @@ require'fzf-lua'.setup {
args = "--color", args = "--color",
}, },
man = { man = {
cmd = "man -c %s | col -b", cmd = "man -c %s | col -bx",
}, },
builtin = { builtin = {
delay = 100, -- delay(ms) displaying the preview delay = 100, -- delay(ms) displaying the preview

View File

@ -382,7 +382,7 @@ Consult the list below for available settings:
args = "--color", args = "--color",
}, },
man = { man = {
cmd = "man -c %s | col -b", cmd = "man -c %s | col -bx",
}, },
builtin = { builtin = {
delay = 100, -- delay(ms) displaying the preview delay = 100, -- delay(ms) displaying the preview

View File

@ -133,7 +133,7 @@ M.globals = {
_ctor = previewers.fzf.git_diff, _ctor = previewers.fzf.git_diff,
}, },
man = { man = {
cmd = "man -c %s | col -b", cmd = "man -c %s | col -bx",
_ctor = previewers.builtin.man_pages, _ctor = previewers.builtin.man_pages,
}, },
builtin = { builtin = {

View File

@ -503,7 +503,7 @@ function Previewer.man_pages:new(o, opts, fzf_win)
self, Previewer.help_tags, Previewer.base self, Previewer.help_tags, Previewer.base
)}) )})
self.filetype = "man" self.filetype = "man"
self.cmd = o.cmd or "man -c %s | col -b" self.cmd = o.cmd or "man -c %s | col -bx"
return self return self
end end