fix: use vim.o.winborder
This commit is contained in:
@@ -1,13 +1,10 @@
|
|||||||
local function setup_keybinds()
|
local function setup_keybinds()
|
||||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
|
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
|
||||||
vim.keymap.set("n", "ev", function()
|
vim.keymap.set("n", "ev", function()
|
||||||
vim.diagnostic.open_float({ border = "rounded" })
|
vim.diagnostic.open_float()
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "K", function()
|
|
||||||
vim.lsp.buf.hover({ border = "rounded" })
|
|
||||||
end)
|
end)
|
||||||
vim.keymap.set("i", "<C-s>", function()
|
vim.keymap.set("i", "<C-s>", function()
|
||||||
vim.lsp.buf.signature_help({ border = "rounded" })
|
vim.lsp.buf.signature_help()
|
||||||
end)
|
end)
|
||||||
vim.diagnostic.config({ virtual_text = true })
|
vim.diagnostic.config({ virtual_text = true })
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -15,3 +15,5 @@ vim.opt.signcolumn = "yes"
|
|||||||
|
|
||||||
vim.opt.hlsearch = false
|
vim.opt.hlsearch = false
|
||||||
vim.opt.incsearch = true
|
vim.opt.incsearch = true
|
||||||
|
|
||||||
|
vim.o.winborder = "rounded"
|
||||||
|
|||||||
Reference in New Issue
Block a user