Skip to content

Commit bbb6f83

Browse files
committed
chore(ui): use rounded borders for diagnostics window
1 parent 5895e5d commit bbb6f83

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lua/mappings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ M.lsp = function()
156156
})
157157

158158
map("n", "<leader>df", function()
159-
vim.diagnostic.open_float()
159+
vim.diagnostic.open_float({ border = vim.g.border_style })
160160
end, "Open diagnostics float ")
161161
map("n", "<leader>ld", vim.lsp.buf.definition, "Goto lsp definition")
162162
map("n", "<leader>lh", vim.lsp.buf.declaration, "Goto lsp declaration")

lua/modules.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ autocmd("LspProgress", {
6565

6666
autocmd("CursorHold", {
6767
callback = function()
68-
vim.diagnostic.open_float(nil, { focusable = false, source = "if_many" })
68+
vim.diagnostic.open_float(nil, { focusable = false, source = "if_many", border = vim.g.border_style })
6969
end,
7070
})
7171

0 commit comments

Comments
 (0)