nvim: cmp: fix warning and comment, remove orgmode
This commit is contained in:
parent
73fb0c5089
commit
ab50e92c91
|
@ -23,7 +23,7 @@ if cmp and luasnip then
|
|||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
elseif luasnip.expandable() then
|
||||
luasnip.expand()
|
||||
luasnip.expand({})
|
||||
elseif luasnip.expand_or_jumpable() then
|
||||
luasnip.expand_or_jump()
|
||||
else
|
||||
|
@ -47,14 +47,13 @@ if cmp and luasnip then
|
|||
{ name = 'dictionary' },
|
||||
{ name = 'zsh' },
|
||||
{ name = 'doxygen' },
|
||||
{ name = 'orgmode' },
|
||||
}, {
|
||||
{ name = 'buffer' },
|
||||
-- { name = 'spell' },
|
||||
})
|
||||
})
|
||||
|
||||
-- Use buffer source for `/`
|
||||
-- Use LSP symbols and buffer source for `/`
|
||||
cmp.setup.cmdline('/', {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
|
|
Loading…
Reference in New Issue
Block a user