When I complete with any command (less, bat, nvim, ...) the file preview shows only some lines;
but when I use fzf-tab-source the problem goes away.
I tried to see how fzf-tab-source code worked, but I didn't find anything helpful.
I can make sure:
[x] I am using the latest version of fzf-tab
[x] this is the minimal zshrc which can reproduce this bug
Describe the bug
When I complete with any command (
less
,bat
,nvim
, ...) the file preview shows only some lines; but when I use fzf-tab-source the problem goes away. I tried to see howfzf-tab-source
code worked, but I didn't find anything helpful.I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The complete preview of the text file.
Screenshots
A part of my .zshrc viewed with
bat
The same file but on
fzf-tab preview
my .lessfilter file
Environment:
Minimal zshrc