Skip to content

3.2.3 shows 3rd party prompt even when disabled #1149

@flrgh

Description

@flrgh

👋 I just updated from 3.2.2 => 3.2.3. The language server now asks the client (neovim in my case) if I want to configure the workspace for OpenResty, every time.

RPC log snippet from my editor:

[DEBUG][2022-05-16 13:15:22] .../vim/lsp/rpc.lua:454	"rpc.receive"	{
  jsonrpc = "2.0",
  method = "window/logMessage",
  params = {
    message = "Do you need to configure your work environment as `OpenResty`?",
    type = 3
  }
}
[DEBUG][2022-05-16 13:15:22] .../vim/lsp/rpc.lua:454	"rpc.receive"	{
  id = 3,
  jsonrpc = "2.0",
  method = "window/showMessageRequest",
  params = {
    actions = { {
        title = "Apply and modify settings"
      }, {
        title = "Apply but do not modify settings"
      }, {
        title = "Don't show again"
      } },
    message = "Do you need to configure your work environment as `OpenResty`?",
    type = 3
  }
}

My config has workspace.checkThirdParty set to false.

Reverting back to 3.2.2 resolves the issue for me.

This gist contains more complete RPC logs for 3.2.3 and 3.2.2.

Environment

  • OS: Linux x86_64 (Fedora 35)
  • Is WSL remote? N/A
  • Client: neovim 0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions