diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2022-12-05 19:59:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 11:59:04 -0700 |
commit | f3bf1fbf600050fde155e6a1a766b6f848012208 (patch) | |
tree | 4de99c04bf7d666ac15707e418468640c0946b1a /runtime/lua/vim/lsp/protocol.lua | |
parent | 707df880545703bc6f4db1af6e46820becbcd911 (diff) | |
download | rneovim-f3bf1fbf600050fde155e6a1a766b6f848012208.tar.gz rneovim-f3bf1fbf600050fde155e6a1a766b6f848012208.tar.bz2 rneovim-f3bf1fbf600050fde155e6a1a766b6f848012208.zip |
fix(secure): crash when hitting escape in prompt (#21283)
- use pcall when calling vim.secure.read from C
- catch keyboard interrupts in vim.secure.read, rethrow other errors
- selecting "view" in prompt runs :view command
- simplify lua stack cleanup with lua_gettop and lua_settop
Co-authored-by: ii14 <ii14@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
0 files changed, 0 insertions, 0 deletions