Closed AlaaSaadAbdo closed 3 years ago
@AlaaSaadAbdo thanks for reporting this issue. This comes from a bug in neovim related to the terminal which is needed to display the lists.
There is a workaround that I implemented in this plugin, but it is not perfect. Thankfully this is fixed in newer versions of neovim. Just upgrade neovim to version >= 0.5.0 to fix this issue.
Environment
echo $FZF_DEFAULT_OPTS
: "none"bat --version
: bat 0.16.0(n)vim --version
: NVIM v0.4.4Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.4/share/nvim"
Run :checkhealth for more info
health#mkdp#check
INFO: Platform: macos
INFO: Nvim Version: NVIM v0.4.4
INFO: Node version: v12.4.0
INFO: Script: /Users/amansour/.config/nvim/plugged/markdown-preview.nvim/app/server.js
INFO: Script exists: 1
OK: Using node
health#floaterm#check
health#coc#check
OK: Environment check passed
OK: Javascript bundle build/index.js found
OK: Service started
health#coc_fzf#check
ctags (optional)
fzf.vim (optional)
health#nvim#check
Configuration
Performance
Remote Plugins
terminal
health#provider#check
Clipboard (optional)
Python 2 provider (optional)
Python 3 provider (optional)
Ruby provider (optional)
Node.js provider (optional)
This is not the same behaviour when use the following command directly:
:CocFzfList files
This is not the same behavior when using
CocList
when usingCocList
the file is open and the editor is in normal mode.To Reproduce
Minimal vimrc
Steps to Reproduce
:CocFzfList
Note: This also happens when choosing an outline or a symbol or any option in
CocFzfList
that leads you to opening a file.I'm not 100% sure if this is a bug, but the behaviour is inconsistent.
Last but not least, thanks for the wonderful plugin.