From 970ddf79e59a0f235f2b1b62de05bb31412dbdbb Mon Sep 17 00:00:00 2001 From: siduck Date: Sat, 14 May 2022 11:18:29 +0530 Subject: [PATCH] add: LspInfo window borders --- lua/plugins/configs/lspconfig.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index f43dc1e..13d74ba 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -8,6 +8,16 @@ local M = {} require("plugins.configs.others").lsp_handlers() +-- Borders for LspInfo winodw +local win = require "lspconfig.ui.windows" +local _default_opts = win.default_opts + +win.default_opts = function(options) + local opts = _default_opts(options) + opts.border = "double" + return opts +end + function M.on_attach(client, _) client.resolved_capabilities.document_formatting = false client.resolved_capabilities.document_range_formatting = false