Calling FzfPreviewProjectFiles when dir is not a git project
BenjaDiaz opened this issue · 1 comments
BenjaDiaz commented
Problems summary
FzfPreviewProjectFiles fails when not in a git project.
Error detected while processing function remote#define#CommandBootstrap[5]..remote#define#request:
line 2:
Error invoking '/Users/benjamindiaz/.local/share/nvim/plugged/fzf-preview.vim/rplugin/node/fzf-preview.vim:command:FzfPreviewProjectFiles' on channel 6:
Error: The current directory is not a git project
Expected
FzfPreviewProjectFiles showing files
Environment Information
-
fzf-preview version (package.json):
-
OS: macOS Catalina
-
Vim/Neovim version: NVIM v0.5.0-812-gd17e50879
BenjaDiaz commented
Closing as one can use FzfPreviewDirectoryFiles.
Sorry for the trouble.