Skip to content

preview doesn't work #9

@Wonko7

Description

@Wonko7
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions