fix: use vim.o.winborder

This commit is contained in:
2025-08-18 20:07:49 -07:00
parent 4c502852cb
commit 421dacc3cf
2 changed files with 4 additions and 5 deletions

View File

@@ -1,13 +1,10 @@
local function setup_keybinds()
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
vim.keymap.set("n", "ev", function()
vim.diagnostic.open_float({ border = "rounded" })
end)
vim.keymap.set("n", "K", function()
vim.lsp.buf.hover({ border = "rounded" })
vim.diagnostic.open_float()
end)
vim.keymap.set("i", "<C-s>", function()
vim.lsp.buf.signature_help({ border = "rounded" })
vim.lsp.buf.signature_help()
end)
vim.diagnostic.config({ virtual_text = true })
end