Browse Source

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>
Sadik Saifi 2 years ago
parent
commit
804e08cb46
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lua/lvim/lsp/init.lua

+ 3 - 0
lua/lvim/lsp/init.lua

@@ -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/signatureHelp", vim.lsp.handlers.signature_help, { border = "rounded" })
+
+  -- Enable rounded borders in :LspInfo window.
+  require("lspconfig.ui.windows").default_options.border = "rounded"
 end
 
 return M