Neovim: add LSP signature and change cmp setting
This commit is contained in:
@ -15,7 +15,7 @@ cmp.setup({
|
||||
['<C-e>'] = cmp.mapping.close(),
|
||||
['<CR>'] = cmp.mapping.confirm({
|
||||
behavior = cmp.ConfirmBehavior.Replace,
|
||||
select = true
|
||||
select = false
|
||||
})
|
||||
},
|
||||
sources = {
|
||||
|
||||
@ -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'
|
||||
|
||||
8
.config/nvim/lua/plugins/lspsignature.lua
Normal file
8
.config/nvim/lua/plugins/lspsignature.lua
Normal 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)
|
||||
Reference in New Issue
Block a user