From 2f61dbfcd82cf8ed58afe4b5695fdf7fae2b5e78 Mon Sep 17 00:00:00 2001 From: ashincoder <83629316+ashincoder@users.noreply.github.com> Date: Tue, 24 Aug 2021 13:23:01 +0530 Subject: [PATCH] feat: Added border for lsp hover doc --- lua/plugins/configs/lspconfig.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index 55bc1af..f0636f1 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -109,6 +109,12 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagn underline = true, update_in_insert = false, -- update diagnostics insert mode }) +vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { + border = "single", +}) +vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { + border = "single", +}) -- suppress error messages from lang servers vim.notify = function(msg, log_level, _opts)