From b745bfda31fe0d0e16b04004f96b207753648b21 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Feb 2024 12:32:56 +0100 Subject: Add noice and inc-rename --- fnl/plugins/lsp/diagnostics.fnl | 7 ++----- fnl/plugins/lsp/keymaps.fnl | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'fnl/plugins/lsp') diff --git a/fnl/plugins/lsp/diagnostics.fnl b/fnl/plugins/lsp/diagnostics.fnl index aa1bf4d..9fbb627 100644 --- a/fnl/plugins/lsp/diagnostics.fnl +++ b/fnl/plugins/lsp/diagnostics.fnl @@ -26,10 +26,7 @@ (fn setup [] (configure-signs) (vim.diagnostic.config config) - (set vim.lsp.handlers.textDocument/hover - (vim.lsp.with {:border :rounded :width 60})) - (set vim.lsp.handlers.textDocument/signatureHelp - (vim.lsp.with vim.lsp.handlers.signature_help - {:border :rounded :width 60}))) + (set vim.lsp.handlers.textDocument/hover false) + (set vim.lsp.handlers.textDocument/signatureHelp false)) {: setup} diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl index 1518c78..ceb4907 100644 --- a/fnl/plugins/lsp/keymaps.fnl +++ b/fnl/plugins/lsp/keymaps.fnl @@ -15,7 +15,6 @@ "lua vim.diagnostic.open_float()" {:desc :Diagnostics}] [:n :gs "lua vim.lsp.buf.signature_help()" {:desc :Signature}] - [:n :ge "lua vim.lsp.buf.rename()" {:desc :Rename}] [:n :la "lua vim.lsp.buf.code_action()" -- cgit v1.2.3-70-g09d2