summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-10 13:18:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-10 13:18:58 +0200
commit4cd4582247b1198213fcf8f5fcde9d555bc3c968 (patch)
treed21623b336d2dbe9bfb21502fad57a886918b0a4
parent8a155255d22685a2f6eb572915c4efcaa786a7db (diff)
Add width to hover and signature help
-rw-r--r--fnl/config/lsp/handlers.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/config/lsp/handlers.fnl b/fnl/config/lsp/handlers.fnl
index 04f8297..1b20365 100644
--- a/fnl/config/lsp/handlers.fnl
+++ b/fnl/config/lsp/handlers.fnl
@@ -26,9 +26,10 @@
(defn setup [] (apply-signs) (vim.diagnostic.config config)
(set vim.lsp.handlers.textDocument/hover
- (vim.lsp.with {:border :rounded}))
+ (vim.lsp.with {:border :rounded :width 60}))
(set vim.lsp.handlers.textDocument/signatureHelp
- (vim.lsp.with vim.lsp.handlers.signature_help {:border :rounded})))
+ (vim.lsp.with vim.lsp.handlers.signature_help
+ {:border :rounded :width 60})))
(defn- lsp-keymaps [bufnr]
(let [opts {:noremap true :silent true}]