aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorMathias Fussenegger <f.mathias@zignar.net>2021-07-11 11:22:35 +0200
committerMathias Fussenegger <f.mathias@zignar.net>2021-07-11 11:22:35 +0200
commitc21a6972a02c00a5d809051c6300eed351fb3b49 (patch)
treefdab9726e8e7abe5054f8ba6d3a1e237de840bf6 /runtime/lua/vim/lsp/buf.lua
parent256570a7a628aa377f405cb55343a38d186dc770 (diff)
downloadrneovim-c21a6972a02c00a5d809051c6300eed351fb3b49.tar.gz
rneovim-c21a6972a02c00a5d809051c6300eed351fb3b49.tar.bz2
rneovim-c21a6972a02c00a5d809051c6300eed351fb3b49.zip
fix(lsp): Ensure human readable errors are printed
`return err_message(tostring(err))` caused errors to be printed as `table: 0x123456789` instead of showing the error code and error message. This also removes some `if err` blocks that never got called because at the end of `handlers.lua` all the handlers are wrapped with logic that adds generic error handling.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions