mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix: add missing border
This commit is contained in:
parent
663e142bcd
commit
3f8b9e3781
4 changed files with 11 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ return {
|
||||||
},
|
},
|
||||||
opts = function()
|
opts = function()
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
|
local bordered = require("cmp.config.window").bordered
|
||||||
return {
|
return {
|
||||||
completion = {
|
completion = {
|
||||||
completeopt = "menu,menuone,noinsert",
|
completeopt = "menu,menuone,noinsert",
|
||||||
|
|
@ -71,6 +72,10 @@ return {
|
||||||
return item
|
return item
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
window = {
|
||||||
|
completion = bordered("rounded"),
|
||||||
|
documentation = bordered("rounded"),
|
||||||
|
},
|
||||||
experimental = {
|
experimental = {
|
||||||
ghost_text = {
|
ghost_text = {
|
||||||
hl_group = "LspCodeLens",
|
hl_group = "LspCodeLens",
|
||||||
|
|
|
||||||
|
|
@ -159,6 +159,7 @@ return {
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {
|
opts = {
|
||||||
plugins = { spelling = true },
|
plugins = { spelling = true },
|
||||||
|
window = { border = "rounded" },
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local wk = require("which-key")
|
local wk = require("which-key")
|
||||||
|
|
@ -198,6 +199,7 @@ return {
|
||||||
changedelete = { text = "▎" },
|
changedelete = { text = "▎" },
|
||||||
untracked = { text = "▎" },
|
untracked = { text = "▎" },
|
||||||
},
|
},
|
||||||
|
preview_config = { border = "rounded" },
|
||||||
on_attach = function(buffer)
|
on_attach = function(buffer)
|
||||||
local gs = package.loaded.gitsigns
|
local gs = package.loaded.gitsigns
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,7 @@ return {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require("lspconfig.ui.windows").default_options.border = "rounded"
|
||||||
require("mason-lspconfig").setup({ ensure_installed = ensure_installed })
|
require("mason-lspconfig").setup({ ensure_installed = ensure_installed })
|
||||||
require("mason-lspconfig").setup_handlers({ setup })
|
require("mason-lspconfig").setup_handlers({ setup })
|
||||||
end,
|
end,
|
||||||
|
|
@ -133,6 +134,7 @@ return {
|
||||||
nls.builtins.formatting.stylua,
|
nls.builtins.formatting.stylua,
|
||||||
nls.builtins.diagnostics.flake8,
|
nls.builtins.diagnostics.flake8,
|
||||||
},
|
},
|
||||||
|
border = "rounded",
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
@ -150,6 +152,7 @@ return {
|
||||||
"shfmt",
|
"shfmt",
|
||||||
"flake8",
|
"flake8",
|
||||||
},
|
},
|
||||||
|
ui = { border = "rounded" },
|
||||||
},
|
},
|
||||||
---@param opts MasonSettings | {ensure_installed: string[]}
|
---@param opts MasonSettings | {ensure_installed: string[]}
|
||||||
config = function(plugin, opts)
|
config = function(plugin, opts)
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,7 @@ return {
|
||||||
bottom_search = true,
|
bottom_search = true,
|
||||||
command_palette = true,
|
command_palette = true,
|
||||||
long_message_to_split = true,
|
long_message_to_split = true,
|
||||||
|
lsp_doc_border = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue