Skip to content

completion is very slow when enabling call snippets #543

@folke

Description

@folke

Describe the bug
I generated an EmmyLua Annotations library for the neovim lua API.

When I enable call snippets Lua.completion.callSnippet = "Both", completions become very slow (about 15 seconds to complete vim.api. on my laptop. (fyi, it returns about 300 functions)

When disabling the setting, the completion returns instantly.

Environment (please complete the following information):

  • OS: macos latest version
  • Client: neovim 0.5

If there's any additional information I can give you, let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingperformanceRelated to the performance of the langauge server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions