jaredly / jaredly/reason-language-server

Neovim gives error `timed out waiting on receive operation`

Open
#430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hi all. I'm a Neovim user, and from time to time I receive the error

```
[LC] timed out waiting on receive operation
```
The error message is fairly straightforward --- it seems I haven't done an operation using RLS in a necessary amount of time. However, I was wondering if there's any way to turn off this "wait" so that RLS just waits indefinitely, in a sense. Getting this error is quite frustrating because I have to stop and start my language client to get RLS to run properly again.

As a side note, my overall experience with RLS + Neovim + LanguageClient-neovim has been good, but not great. I often have to restart the LanguageClient manually (with `:LanguageClientStop` and then `LanguageClientStart`). Any tips to make this experience more positive would be much appreciated.

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Neovim, RLS, and LanguageClient-neovim but no files or tests. Start by reproducing the timeout and checking the LanguageClientStop and LanguageClientStart workflow, then trace where RLS receive timeouts are configured. Done means establishing whether the wait can be disabled or extended and documenting or implementing the resulting fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.