fix: change borders to rounded
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ local function setup_diagnostics()
|
|||||||
float = {
|
float = {
|
||||||
show_header = false,
|
show_header = false,
|
||||||
source = true,
|
source = true,
|
||||||
border = "single",
|
border = "rounded",
|
||||||
focusable = false,
|
focusable = false,
|
||||||
format = function(diagnostic)
|
format = function(diagnostic)
|
||||||
return string.format("%s", diagnostic.message)
|
return string.format("%s", diagnostic.message)
|
||||||
|
|||||||
@@ -52,14 +52,14 @@ function M:init(server, bufnr)
|
|||||||
mode = { "n", "i" },
|
mode = { "n", "i" },
|
||||||
lhs = "<C-k>",
|
lhs = "<C-k>",
|
||||||
rhs = function()
|
rhs = function()
|
||||||
vim.lsp.buf.hover({ border = "single", max_width = 80 })
|
vim.lsp.buf.hover({ border = "rounded", max_width = 80 })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
mode = { "n", "i" },
|
mode = { "n", "i" },
|
||||||
lhs = "<C-j>",
|
lhs = "<C-j>",
|
||||||
rhs = function()
|
rhs = function()
|
||||||
vim.lsp.buf.signature_help({ border = "single", max_width = 80 })
|
vim.lsp.buf.signature_help({ border = "rounded", max_width = 80 })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -151,17 +151,11 @@ return {
|
|||||||
{ name = "orgmode" },
|
{ name = "orgmode" },
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
},
|
},
|
||||||
|
window = {
|
||||||
|
completion = cmp.config.window.bordered(),
|
||||||
|
documentation = cmp.config.window.bordered(),
|
||||||
}
|
}
|
||||||
|
|
||||||
if utils.has_module("moonfly") then
|
|
||||||
local winhighlight = {
|
|
||||||
winhighlight = "Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:PmenuSel",
|
|
||||||
}
|
}
|
||||||
opts.window = {
|
|
||||||
completion = cmp.config.window.bordered(winhighlight),
|
|
||||||
documentation = cmp.config.window.bordered(winhighlight),
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
cmp.setup(opts)
|
cmp.setup(opts)
|
||||||
cmp.setup.cmdline("/", {
|
cmp.setup.cmdline("/", {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ return {
|
|||||||
DISCARDED = ":foreground grey :weight bold",
|
DISCARDED = ":foreground grey :weight bold",
|
||||||
},
|
},
|
||||||
win_split_mode = "float",
|
win_split_mode = "float",
|
||||||
win_border = "single",
|
win_border = "rounded",
|
||||||
org_archive_location = "~/Documents/org/archive.org::",
|
org_archive_location = "~/Documents/org/archive.org::",
|
||||||
org_log_done = "note",
|
org_log_done = "note",
|
||||||
org_log_into_drawer = "LOGBOOK",
|
org_log_into_drawer = "LOGBOOK",
|
||||||
|
|||||||
Reference in New Issue
Block a user