feat: set winborder
This commit is contained in:
@@ -75,6 +75,7 @@ vim.opt.jumpoptions = { "stack", "view", "clean" }
|
||||
vim.opt.updatetime = 100
|
||||
vim.opt.guicursor:append("a:Cursor")
|
||||
vim.opt.inccommand = "split"
|
||||
vim.opt.winborder = "rounded"
|
||||
|
||||
function _G._status_line_git()
|
||||
local status = vim.b.gitsigns_status_dict
|
||||
|
||||
+2
-5
@@ -38,17 +38,14 @@ local function set_keymaps(bufnr)
|
||||
mode = "n",
|
||||
lhs = "K",
|
||||
rhs = function()
|
||||
vim.lsp.buf.hover({ border = "rounded", max_width = 80 })
|
||||
vim.lsp.buf.hover({ max_width = 80 })
|
||||
end,
|
||||
},
|
||||
{
|
||||
mode = { "i", "s" },
|
||||
lhs = "<C-s>",
|
||||
rhs = function()
|
||||
vim.lsp.buf.signature_help({
|
||||
border = "rounded",
|
||||
max_width = 80,
|
||||
})
|
||||
vim.lsp.buf.signature_help({ max_width = 80 })
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -18,7 +18,6 @@ return {
|
||||
documentation = {
|
||||
auto_show = true,
|
||||
window = {
|
||||
border = "rounded",
|
||||
winhighlight = "",
|
||||
},
|
||||
},
|
||||
@@ -32,6 +31,7 @@ return {
|
||||
},
|
||||
},
|
||||
menu = {
|
||||
border = "none",
|
||||
draw = {
|
||||
align_to = "simple_label",
|
||||
columns = {
|
||||
@@ -75,7 +75,6 @@ return {
|
||||
signature = {
|
||||
enabled = true,
|
||||
window = {
|
||||
border = "rounded",
|
||||
winhighlight = "",
|
||||
show_documentation = false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user