diff options
| author | Matěj Cepl <mcepl@cepl.eu> | 2026-10-01 11:49:23 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-10-02 08:10:45 +0200 |
| commit | a518f066f320075daca2fb9dbeb7d8607063ee23 (patch) | |
| tree | 6fb5af41694b783f81ebcf3097ae74d67a89b108 /.lua-format | |
| parent | c5d260a3b65cff246fbc8e3828e1f4a0c16304ba (diff) | |
| download | vis-lspc-a518f066f320075daca2fb9dbeb7d8607063ee23.tar.gz vis-lspc-a518f066f320075daca2fb9dbeb7d8607063ee23.zip | |
Handle writes to closed language-server pipes
A language server can exit and close its communication pipe before
vis-lspc sends its next RPC message. The resulting Lua file-handle error
escapes the RPC function and interrupts editing. Catch failures from write
and flush, log the server name and error, and return false instead.
Diffstat (limited to '.lua-format')
0 files changed, 0 insertions, 0 deletions
