From 13de31e0449d829897039bd435679811d4d7cd55 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 19 Aug 2025 16:58:21 +0100 Subject: [PATCH] Ensure vim.lsp.hover has a rounded border --- lua/plugins/completions.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index 270df4c..aac5c21 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -232,7 +232,9 @@ return { -- TODO: v0.10.0 |vim.lsp.start()| now maps |K| to use -- |vim.lsp.buf.hover()| if the server supports it, unless -- |'keywordprg'| was customized before calling |vim.lsp.start()|. - vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts) + vim.keymap.set('n', 'K', function() + vim.lsp.buf.hover({ border = 'rounded' }) + end, opts) -- Format whole buffer mapping vim.keymap.set('n', 'gq', vim.lsp.buf.format, opts)