mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
feat(lspconfig): add rounded borders to :LspInfo window (#4208)
* feat(plugin): add rounded borders to :LspInfo window * feat(lspconfig): add rounded borders to :LspInfo window Co-authored-by: CPea <cpea2506@gmail.com> * chore: format --------- Co-authored-by: CPea <cpea2506@gmail.com> Co-authored-by: LostNeophyte <lostneophyte@tuta.io>
This commit is contained in:
parent
5c7d712497
commit
804e08cb46
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ function M.setup()
|
||||||
|
|
||||||
set_handler_opts_if_not_set("textDocument/hover", vim.lsp.handlers.hover, { border = "rounded" })
|
set_handler_opts_if_not_set("textDocument/hover", vim.lsp.handlers.hover, { border = "rounded" })
|
||||||
set_handler_opts_if_not_set("textDocument/signatureHelp", vim.lsp.handlers.signature_help, { border = "rounded" })
|
set_handler_opts_if_not_set("textDocument/signatureHelp", vim.lsp.handlers.signature_help, { border = "rounded" })
|
||||||
|
|
||||||
|
-- Enable rounded borders in :LspInfo window.
|
||||||
|
require("lspconfig.ui.windows").default_options.border = "rounded"
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in a new issue