Skip to content

WikiLinkAdd doesn't work under gvim with fzf #412

@VimWei

Description

@VimWei

gVim 9.1.1414 with the latest wiki.vim and fzf plugin

set shellslash
let g:wiki_fzf_pages_opts = '--preview "cat {1}"'
let g:wiki_fzf_links_opts = '--preview "cat {1}"'
if has('unix')
    let g:wiki_fzf_tags_opts = '--preview "bat --color=always {2..}"'
endif

After executing :WikiLinkAdd, the preview fails to render properly and displays garbled characters:

Image

Subsequently, pressing Esc triggers a warning message:

Image

By comparison, in Neovim 0.11.2 with the latest wiki.vim and telescope.nvim plugins, the :WikiLinkAdd command functions flawlessly.

It appears that this issue bears some resemblance to the previous one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions