Ensure vim.lsp.hover has a rounded border
This commit is contained in:
parent
595c45724d
commit
13de31e044
@ -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', '<leader>gq', vim.lsp.buf.format, opts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user