Improved completion

master
Polarian 5 months ago
parent 619d2774a6
commit 89b6f9383d
Signed by: Polarian
GPG Key ID: 0770E5312238C760

@ -33,6 +33,8 @@ Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/cmp-calc'
Plug 'hrsh7th/cmp-nvim-lsp-signature-help'
Plug 'hrsh7th/cmp-nvim-lsp-document-symbol'
" Git
Plug 'tpope/vim-fugitive'

@ -16,17 +16,20 @@ cmp.setup({
{ name = 'nvim_lsp' },
{ name = 'vsnip' },
{ name = 'calc' },
{ name = 'path' }
{ name = 'path' },
{ name = 'nvim_lsp_signature_help' },
}, {
{ name = 'buffer' },
})
})
cmp.setup.cmdline('/', {
sources = {
{ name = 'buffer' }
}
sources = cmp.config.sources({
{ name = 'nvim_lsp_document_symbol' }
}, {
{ name = 'buffer' }
})
})
cmp.setup.cmdline(':', {
sources = cmp.config.sources({

Loading…
Cancel
Save