Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bufferlines not working properly when working directory changed #292

Open
YangchaoYi opened this issue Oct 12, 2021 · 0 comments
Open

bufferlines not working properly when working directory changed #292

YangchaoYi opened this issue Oct 12, 2021 · 0 comments

Comments

@YangchaoYi
Copy link

Problems summary

(in shell)
$nvim tmp/file1

(in nvim)
:cd tmp
:CocCommand fzf-preview.BufferLines

Gives error: "[coc.nvim]: Error on "runCommand": ENOENT: no such file or directory, open 'file1'"

Expected

Show lines of file1.

Environment Information

  • fzf-preview version (package.json): coc-fzf-preview 2.8.1

  • OS: Debian

  • Vim/Neovim version: NVIM v0.5.0

Provide a minimal init.vim

call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()
 
let g:coc_global_extensions = ['coc-fzf-preview']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant