Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Starting async tasks..." message doesn't disappear #1328

Open
diniamo opened this issue Nov 3, 2024 · 0 comments
Open

"Starting async tasks..." message doesn't disappear #1328

diniamo opened this issue Nov 3, 2024 · 0 comments

Comments

@diniamo
Copy link

diniamo commented Nov 3, 2024

I'm trying to use this in Neovim, and besides being slow, it works fine. I do however have the message in the title indefinitely spinning on the bottom right, which is very annoying.

Image

I set the LSP up like this:

lspconfig.julials.setup({
  capabilities = capabilities,
  on_attach = default_on_attach,
  cmd = {
    "julia",
    "--startup-file=no",
    "--history-file=no",
    "--eval",
    [[
      using LanguageServer

      depot_path = get(ENV, "JULIA_DEPOT_PATH", "")
      project_path = let
        dirname(something(
          ## 1. Finds an explicitly set project (JULIA_PROJECT)
          Base.load_path_expand((
            p = get(ENV, "JULIA_PROJECT", nothing);
            p === nothing ? nothing : isempty(p) ? nothing : p
          )),
          ## 2. Look for a Project.toml file in the current working directory,
          ##    or parent directories, with $HOME as an upper boundary
          Base.current_project(),
          ## 3. First entry in the load path
          get(Base.load_path(), 1, nothing),
          ## 4. Fallback to default global environment,
          ##    this is more or less unreachable
          Base.load_path_expand("@v#.#"),
        ))
      end

      @info "Running language server" VERSION pwd() project_path depot_path
      server = LanguageServer.LanguageServerInstance(stdin, stdout, project_path, depot_path)
      server.runlinter = true
      run(server)
    ]],
  },
})```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant