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)