dense-analysis / dense-analysis/ale

Handle write errors for LSP connections in Vim

Open
#2,120 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

For various reasons, calls to `ch_sendraw` can fail with the following error.

```
E631: ch_sendraw(): write failed
```

We should wrap every call in a `try ... catch` block, and handle these errors. We should probably log an error message in `:ALEInfo`, or ignore the error entirely. Preferably the former. We cannot prevent the errors from happening. See #1994.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.