diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-08 12:32:56 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-08 12:32:56 +0100 |
commit | b745bfda31fe0d0e16b04004f96b207753648b21 (patch) | |
tree | 660d38626c8827ba303e9c313b74f2abd87b4512 /fnl/plugins/lsp | |
parent | d4babc575017a85bfd0e5191771a2f74104c59d6 (diff) |
Add noice and inc-rename
Diffstat (limited to 'fnl/plugins/lsp')
-rw-r--r-- | fnl/plugins/lsp/diagnostics.fnl | 7 | ||||
-rw-r--r-- | fnl/plugins/lsp/keymaps.fnl | 1 |
2 files changed, 2 insertions, 6 deletions
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 @@ "<cmd>lua vim.diagnostic.open_float()<CR>" {:desc :Diagnostics}] [:n :gs "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:desc :Signature}] - [:n :ge "<cmd>lua vim.lsp.buf.rename()<cr>" {:desc :Rename}] [:n :<leader>la "<cmd>lua vim.lsp.buf.code_action()<cr>" |