nvim: Remove non-working cmp plugins

This commit is contained in:
Marty Oehme 2022-11-01 16:02:35 +01:00
parent 84714379ab
commit 26c3124e95
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9

View file

@ -69,15 +69,9 @@ cmp.setup({
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = 'path' }, { name = 'nvim_lsp' }, { name = 'treesitter' }, { name = 'path' }, { name = 'nvim_lsp' }, { name = 'treesitter' },
{ name = 'tmux' }, { name = 'vsnip' }, { name = 'latex_symbols' }, { name = 'tmux' }, { name = 'vsnip' }, { name = 'latex_symbols' },
{name = 'cmp_pandoc'}, {name = 'vCard'}, { name = 'nvim_lua'} }, { name = 'vCard' }, { name = 'nvim_lua' }
{{name = 'buffer'}, {name = 'spell'}} }, { { name = 'buffer' }, { name = 'spell' } })
)
}) })
require 'cmp_pandoc'.setup{
bibliography = {
fields = { "type", "title", "author", "date" }
}
}
if vim.o.ft == 'clap_input' and vim.o.ft == 'guihua' and vim.o.ft == if vim.o.ft == 'clap_input' and vim.o.ft == 'guihua' and vim.o.ft ==
'guihua_rust' then require 'cmp'.setup.buffer { completion = { enable = false } } end 'guihua_rust' then require 'cmp'.setup.buffer { completion = { enable = false } } end