From 0115a01deb8a8e19436935b96c70606f5139d7e1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 10 Jul 2022 13:31:13 +0200 Subject: Refactor lsp keymaps --- fnl/config/lsp/handlers.fnl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fnl/config/lsp') diff --git a/fnl/config/lsp/handlers.fnl b/fnl/config/lsp/handlers.fnl index 1b20365..4cf904c 100644 --- a/fnl/config/lsp/handlers.fnl +++ b/fnl/config/lsp/handlers.fnl @@ -37,16 +37,14 @@ "lua vim.lsp.buf.declaration()" opts) (nvim.buf_set_keymap bufnr :n :gd "lua vim.lsp.buf.definition()" opts) - (nvim.buf_set_keymap bufnr :n :K "lua vim.lsp.buf.hover()" - opts) (nvim.buf_set_keymap bufnr :n :gI "lua vim.lsp.buf.implementation()" opts) (nvim.buf_set_keymap bufnr :n :gr "lua vim.lsp.buf.references()" opts) (nvim.buf_set_keymap bufnr :n :gl "lua vim.diagnostic.open_float()" opts) - (nvim.buf_set_keymap bufnr :n :q - "lua vim.diagnostic.setloclist()" opts))) + (nvim.buf_set_keymap bufnr :n :gs + "lua vim.lsp.buf.signature_help()" opts))) (defn on-attach [client bufnr] (if (= client.name :html) (set client.resolved_capabilities.document_formatting -- cgit v1.2.3-70-g09d2