Neovim: add LSP signature and change cmp setting

This commit is contained in:
mequidis
2022-03-20 19:31:44 +02:00
parent d4c5be53b4
commit fc45d71fcd
5 changed files with 20 additions and 4 deletions

View File

@ -15,7 +15,7 @@ cmp.setup({
['<C-e>'] = cmp.mapping.close(),
['<CR>'] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Replace,
select = true
select = false
})
},
sources = {

View File

@ -1,4 +1,6 @@
-- colorscheme
vim.cmd 'colorscheme wal'
-- vim.cmd 'colorscheme monokai'
-- misc colorscheme fixes
vim.cmd 'highlight Pmenu ctermbg=black'
vim.cmd 'highlight FloatBorder cterm=none'
vim.cmd 'highlight NormalFloat cterm=none'

View File

@ -0,0 +1,8 @@
cfg = {
hint_prefix = " ", -- Panda for parameter
handler_opts = {
border = "single" -- double, rounded, single, shadow, none
},
}
require "lsp_signature".setup(cfg)