fix(diagnostic): get border from config (#28531)

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
glepnir
2024-04-28 23:15:10 +08:00
committed by GitHub
parent 26b5405d18
commit 83635e4e3d
3 changed files with 4 additions and 1 deletions

View File

@@ -190,7 +190,7 @@ do
})
vim.keymap.set('n', '<C-W>d', function()
vim.diagnostic.open_float({ border = 'rounded' })
vim.diagnostic.open_float()
end, {
desc = 'Open a floating window showing diagnostics under the cursor',
})