Skip to content

LspProgress Autocommands for "*" Error #38

@IIamaseconds

Description

@IIamaseconds

I am using a Roslyn LSP, and during its bootup I get an error message.

Error detected while processing LspProgress Autocommands for "*":
Error executing callback: /astroplsp/lua/astrolsp/init.lua:57

I have updated line 57 to contain the following.
if M.lsp_progress[id] == nil or M.lsp_progress[id].kind == "end" then

This assures that if no id is present, the progress will conclude.
I am not sure if this is good practice, but it did resolve an issue that I had, so I wanted to provide the feedback.

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