How to enable border in completion window #102
Answered
by
VonHeikemen
FahimAnayet
asked this question in
Q&A
-
I have used both the following way, it's not working. Am I missing something?
|
Beta Was this translation helpful? Give feedback.
Answered by
VonHeikemen
Dec 29, 2022
Replies: 1 comment 5 replies
-
This should work. local lsp = require('lsp-zero')
lsp.preset('lsp-compe')
lsp.setup()
vim.opt.completeopt = {'menu', 'menuone', 'noselect'}
local cmp = require('cmp')
local cmp_config = lsp.defaults.cmp_config({
window = {
completion = cmp.config.window.bordered()
}
})
cmp.setup(cmp_config) |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
FahimAnayet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should work.