man previewer: 'col -b' -> 'col -bx'
This commit is contained in:
parent
9b5fd877e0
commit
c0d533f4d0
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 = {
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user