From 4cd4582247b1198213fcf8f5fcde9d555bc3c968 Mon Sep 17 00:00:00 2001
From: Gustaf Rydholm <gustaf.rydholm@gmail.com>
Date: Sun, 10 Jul 2022 13:18:58 +0200
Subject: Add width to hover and signature help

---
 fnl/config/lsp/handlers.fnl | 5 +++--
 1 file 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}]
-- 
cgit v1.2.3-70-g09d2