Remove some autocompletion which messed up with my R plugin #1
@ -122,29 +122,29 @@ return {
|
|||||||
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
|
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
--
|
||||||
-- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
|
-- -- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
|
||||||
cmp.setup.cmdline('/', {
|
-- cmp.setup.cmdline('/', {
|
||||||
sources = {
|
-- sources = {
|
||||||
{ name = 'buffer' }
|
-- { name = 'buffer' }
|
||||||
}
|
-- }
|
||||||
})
|
-- })
|
||||||
|
--
|
||||||
cmp.setup.cmdline('?', {
|
-- cmp.setup.cmdline('?', {
|
||||||
sources = {
|
-- sources = {
|
||||||
{ name = 'buffer' }
|
-- { name = 'buffer' }
|
||||||
}
|
-- }
|
||||||
})
|
-- })
|
||||||
|
--
|
||||||
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
-- -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
||||||
cmp.setup.cmdline(':', {
|
-- cmp.setup.cmdline(':', {
|
||||||
sources = cmp.config.sources({
|
-- sources = cmp.config.sources({
|
||||||
{ name = 'path' }
|
-- { name = 'path' }
|
||||||
}, {
|
-- }, {
|
||||||
{ name = 'cmdline' }
|
-- { name = 'cmdline' }
|
||||||
})
|
-- })
|
||||||
})
|
-- })
|
||||||
require("cmp_r").setup({ })
|
require("cmp_r").setup({ })
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user