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

preview doesn't work #9

Open
3 of 9 tasks
Wonko7 opened this issue Oct 2, 2019 · 0 comments
Open
3 of 9 tasks

preview doesn't work #9

Wonko7 opened this issue Oct 2, 2019 · 0 comments

Comments

@Wonko7
Copy link

Wonko7 commented Oct 2, 2019

  • Category
    • Question
    • Bug
    • Suggestion
  • OS
    • Linux
    • macOS
    • Windows
    • Etc.
  • Vim
    • Vim
    • Neovim

Hi all!

Starting nvim with the following minimal vimrc:

set nocompatible
set runtimepath+=~/debug-nvim/skim.vim
filetype plugin indent on

"let g:skim_layout = { 'window': 'call FloatingFZF()' }
command! -bang -nargs=* Rg call fzf#vim#rg_interactive(<q-args>, fzf#vim#with_preview('right:50%:hidden', 'alt-h'))

and calling :Rg aoeu results in:


Error detected while processing function fzf#vim#with_preview:
line   22:
E117: Unknown function: skim#shellescape
E15: Invalid expression: ['--preview-window', window, '--preview', (s:is_win ? s:bin.preview : skim#shellescape(s:bin.preview)).' {}']
line   25:
E121: Undefined variable: preview
E116: Invalid arguments for function extend
line   27:
E121: Undefined variable: preview
E116: Invalid arguments for function <SNR>26_merge_opts
Error detected while processing function fzf#vim#rg_interactive[3]..fzf#vim#grep_interactive[23]..<SNR>26_fzf[18]..<SNR>26_wrap:
line    9:
E117: Unknown function: skim#wrap
E15: Invalid expression: skim#wrap(a:name, opts, a:bang)
line   10:
E121: Undefined variable: wrapped
line   14:
E121: Undefined variable: wrapped
E15: Invalid expression: wrapped
Error detected while processing function fzf#vim#rg_interactive[3]..fzf#vim#grep_interactive[23]..<SNR>26_fzf:
line   18:
E117: Unknown function: skim#run
E15: Invalid expression: skim#run(s:wrap(a:name, merged, bang))

Am I missing something?

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

Successfully merging a pull request may close this issue.

1 participant