nvim: Remove non-working cmp plugins
This commit is contained in:
parent
84714379ab
commit
26c3124e95
1 changed files with 4 additions and 10 deletions
|
@ -67,17 +67,11 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue