fix: change borders to rounded

This commit is contained in:
2025-05-02 23:29:12 +02:00
parent 2339658a83
commit 7de0efdc5e
4 changed files with 8 additions and 14 deletions
+1 -1
View File
@@ -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)
+2 -2
View File
@@ -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,
}, },
{ {
+4 -10
View File
@@ -151,18 +151,12 @@ 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("/", {
mapping = cmp.mapping.preset.cmdline(), mapping = cmp.mapping.preset.cmdline(),
+1 -1
View File
@@ -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",