From edc418f7e00b8bbf58c71c9d8609e4233cfb3d67 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 27 Feb 2024 22:48:51 +0100 Subject: Add lsp hover --- fnl/plugins/lsp/keymaps.fnl | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl index 36f039a..73cbf94 100644 --- a/fnl/plugins/lsp/keymaps.fnl +++ b/fnl/plugins/lsp/keymaps.fnl @@ -15,14 +15,9 @@ "lua vim.diagnostic.open_float()" {:desc :Diagnostics}] [:n :gs "lua vim.lsp.buf.signature_help()" {:desc :Signature}] - [:n - :gh - "lua vim.lsp.buf.code_action()" - {:desc "Code Action"}] - [:n - :gb - "lua vim.lsp.codelens.run()" - {:desc "Code Lens"}] + [:n :gh "lua vim.lsp.buf.code_action()" {:desc "Code Action"}] + [:n :gb "lua vim.lsp.codelens.run()" {:desc "Code Lens"}] + [:n :K "lua vim.lsp.hover()" {:desc "Hover documentation"}] [:n :li :LspInfo {:desc "Lsp Info"}]]) (fn on-attach [buffer] -- cgit v1.2.3-70-g09d2