1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

show border for diagnostics floating window

This commit is contained in:
jdhao 2021-09-23 23:12:47 +08:00
parent 36711d4a46
commit fefc56d1e2

View File

@ -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