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:
@@ -4,6 +4,7 @@ function M.show_line_diagnostics()
|
|||||||
local opts = {
|
local opts = {
|
||||||
focusable = false,
|
focusable = false,
|
||||||
close_events = { "BufLeave", "CursorMoved", "InsertEnter", "FocusLost" },
|
close_events = { "BufLeave", "CursorMoved", "InsertEnter", "FocusLost" },
|
||||||
|
border = 'single'
|
||||||
}
|
}
|
||||||
vim.lsp.diagnostic.show_line_diagnostics(opts)
|
vim.lsp.diagnostic.show_line_diagnostics(opts)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user