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