diff options
author | Kai Ting <kkting@gmail.com> | 2023-07-16 04:15:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 04:15:30 -0700 |
commit | c3de6524a53dc355b1c8074eb6940e9e73714057 (patch) | |
tree | 56e342a9a02b52c8254e1ef95e1107679cb3aeed /runtime/lua/vim/lsp.lua | |
parent | 047c22a28cf1ed723791e714b2a5b7c6b4b0e1fc (diff) | |
download | rneovim-c3de6524a53dc355b1c8074eb6940e9e73714057.tar.gz rneovim-c3de6524a53dc355b1c8074eb6940e9e73714057.tar.bz2 rneovim-c3de6524a53dc355b1c8074eb6940e9e73714057.zip |
fix(clipboard): ignore exit caused by signal #23378
Problem:
If clipboard job exits by signal, the exit code is >=128:
https://github.com/neovim/neovim/commit/939d9053bdf2f56286640c581eb4e2ff5a856540
xclip 0.13 often exits with code 143, which spams unhelpful messages:
clipboard: error invoking xclip: Waiting for selection requests,
Control-C to quit Waiting for selection request number 1
Solution:
Don't show a warning if the clipboard tool exit code is >=128.
Fixes: #7054
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
0 files changed, 0 insertions, 0 deletions