aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-09-23 23:12:47 +0800
committerjdhao <jdhao@hotmail.com>2021-09-23 23:12:47 +0800
commitfefc56d1e224c8825f4bd54f1853865af665f3d0 (patch)
tree04e50e7edfc9d301d3ed6ff2dfead50970011d90 /lua
parent36711d4a46414290944f60f00e3727b8b88ffd06 (diff)
show border for diagnostics floating window
Diffstat (limited to 'lua')
-rw-r--r--lua/config/lsp.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua
index cabe591..78988ae 100644
--- a/lua/config/lsp.lua
+++ b/lua/config/lsp.lua
@@ -4,6 +4,7 @@ function M.show_line_diagnostics()
local opts = {
focusable = false,
close_events = { "BufLeave", "CursorMoved", "InsertEnter", "FocusLost" },
+ border = 'single'
}
vim.lsp.diagnostic.show_line_diagnostics(opts)
end