style: nvim completion border
This commit is contained in:
parent
7a2679afdd
commit
e501718888
2 changed files with 56 additions and 6 deletions
26
home/config/nvim/lua/plugins/blink.lua
Normal file
26
home/config/nvim/lua/plugins/blink.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
---@module "blink.cmp"
|
||||
---@type blink.cmp.Config
|
||||
opts = {
|
||||
snippets = {
|
||||
expand = function(snippet, _)
|
||||
return LazyVim.cmp.expand(snippet)
|
||||
end,
|
||||
},
|
||||
completion = {
|
||||
menu = {
|
||||
border = "rounded",
|
||||
},
|
||||
documentation = {
|
||||
auto_show = true,
|
||||
auto_show_delay_ms = 200,
|
||||
window = {
|
||||
border = "rounded",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -1,8 +1,32 @@
|
|||
return { {
|
||||
"folke/noice.nvim",
|
||||
opts = {
|
||||
presets = {
|
||||
lsp_doc_border = true,
|
||||
return {
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
opts = {
|
||||
presets = {
|
||||
lsp_doc_border = true,
|
||||
},
|
||||
lsp = {
|
||||
override = {
|
||||
["cmp.entry.get_documentation"] = true,
|
||||
},
|
||||
},
|
||||
views = {
|
||||
hover = {
|
||||
border = {
|
||||
style = "rounded",
|
||||
},
|
||||
},
|
||||
confirm = {
|
||||
border = {
|
||||
style = "rounded",
|
||||
},
|
||||
},
|
||||
popup = {
|
||||
border = {
|
||||
style = "rounded",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue