Skip to content

Bug: FzfLua lsp_document_symbols doesn't work with the in-memory LSP used in vim.pack.update()'s confirmation buffer #2654

@TheLeoP

Description

@TheLeoP

RTFM Checklist

  • I have searched exisiting issues / discussions
  • I have read the Wiki including the Advanced section
  • I have read man fzf / I am well versed in shell fzf

Operating system

Linux

Shell

zsh

Neovim version (nvim --version)

NVIM v0.12.1 Build type: RelWithDebInfo

Fzf version (fzf --version)

0.71.0 (62899fd7)

Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))

nil

Is the problem reproducible with mini.sh?

  • My issue is reproducible with mini.sh
  • My issue IS NOT reproducible with mini.sh
  • I have not tested with mini.sh (not relevant, requires LSP, Windows, etc)

Fzf-lua configuration

require('fzf-lua').setup({})

Describe the bug / steps to reproduce

  1. sh -c "$(curl -s https://raw.githubusercontent.com/ibhagwan/fzf-lua/main/scripts/mini.sh)"
  2. :lua vim.pack.add({'https://github.com/ibhagwan/fzf-lua'}) (simply installing any plugin works)
  3. :lua vim.pack.update()
  4. While inside the confirmation buffer created by vim.pack, :FzfLua lsp_document_symbols. The picker will appear to be loading and nothing will be shown.

Manually executing :lua vim.lsp.buf.document_symbol() does work

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions