cmp: add border to completion window
This commit is contained in:
parent
5624e2f694
commit
0321fa4d2b
|
@ -16,6 +16,9 @@ return {
|
|||
opts = function(_, opts)
|
||||
local cmp = require "cmp"
|
||||
table.insert(opts.sources, 3, { name = "async_path" })
|
||||
opts.window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
}
|
||||
|
||||
if vim.fn.exepath "rg" ~= "" then
|
||||
table.insert(opts.sources, 4, { name = "rg" })
|
||||
|
|
9
lua/plugins/noice.lua
Normal file
9
lua/plugins/noice.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"folke/noice.nvim",
|
||||
opts = {
|
||||
presets = {
|
||||
lsp_doc_border = true,
|
||||
inc_rename = true,
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue