junegunn / junegunn/fzf.vim

:Lines seems broken in Neovim 0.5

Open
#1,305 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [x] I have fzf 0.23.0 or above
- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (`man fzf`)
- [x] I have searched through the existing issues

Hi, I really love fzf. Usually I only use Rg and Files. However, recently, Ive been trying to explore more functionalities such as :Lines. However, :Lines isnt behaving. Specifically, a column of '1's on the left and the 'bat error' message:
Here is a screenshot of :Lines:
Screen Shot 2021-07-07 at 3 47 24 AM
Here is a screenshot of :Files which works fine:
Screen Shot 2021-07-07 at 3 47 46 AM
I am using updated versions of tmux, alacritty, bat, ripgrep, neovim on macOS
My configs are:
```
//init.vim
let $FZF_DEFAULT_COMMAND = 'rg --files --hidden'
let g:fzf_preview_window = ['up:50%', 'ctrl-o']
command! -bang -nargs=* Rg call fzf#vim#grep('rg --column --line-number --no-heading --color=always --smart-case '.shellescape(), 1, fzf#vim#with_preview({'options': '--delimiter : --nth 2..'}), 0)

//.zshrc
export FZF_DEFAULT_OPTS=" --preview-window=up,50% --preview 'bat --color=always --style=header,grid --line-range :300 {}'"
export BAT_THEME="Visual Studio Dark+"
```
I apologize if I missed something obvious, I am quite new to coding. Thank you in advance and thank you for the amazing plugin.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.