lsp: make key bindings configurable

This exposes the keybindings for the lsp commands to the configuration
and maps a few more commands (e.g. `vim.lsp.buf.format()`) It also adds
a description to be picked up by whichkey to make the whichkey UX a bit
nicer (ie. we're now showing "Go to definition" instead of just
"vim.lsp.buf.definition()")
This commit is contained in:
Kalle Jepsen 2023-10-22 21:38:14 +02:00
commit c693d2fbd4
3 changed files with 90 additions and 23 deletions

View file

@ -79,3 +79,5 @@ https://github.com/ksonj[ksonj]:
* Add black-and-isort python formatter
* Removed redundant "Enable ..." in `mkEnableOption` descriptions
* Add options to modify LSP key bindings and add proper whichkey descriptions