aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2022-12-05 19:59:04 +0100
committerGitHub <noreply@github.com>2022-12-05 11:59:04 -0700
commitf3bf1fbf600050fde155e6a1a766b6f848012208 (patch)
tree4de99c04bf7d666ac15707e418468640c0946b1a /runtime/lua/vim/lsp/protocol.lua
parent707df880545703bc6f4db1af6e46820becbcd911 (diff)
downloadrneovim-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