diff options
| author | jdhao <jdhao@hotmail.com> | 2021-09-23 23:12:47 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-09-23 23:12:47 +0800 |
| commit | fefc56d1e224c8825f4bd54f1853865af665f3d0 (patch) | |
| tree | 04e50e7edfc9d301d3ed6ff2dfead50970011d90 | |
| parent | 36711d4a46414290944f60f00e3727b8b88ffd06 (diff) | |
show border for diagnostics floating window
| -rw-r--r-- | lua/config/lsp.lua | 1 |
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 |
