Merge pull request 'Remove some autocompletion which messed up with my R plugin' (#1) from debug into master

Reviewed-on: https://git.rolandhollos.xyz/hollorol/neoconfig/pulls/1
This commit is contained in:
Roland Hollós 2024-07-31 23:05:05 +02:00
commit 0881f56e45

View File

@ -122,29 +122,29 @@ return {
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
}
})
-- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline('/', {
sources = {
{ name = 'buffer' }
}
})
cmp.setup.cmdline('?', {
sources = {
{ name = 'buffer' }
}
})
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline(':', {
sources = cmp.config.sources({
{ name = 'path' }
}, {
{ name = 'cmdline' }
})
})
--
-- -- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
-- cmp.setup.cmdline('/', {
-- sources = {
-- { name = 'buffer' }
-- }
-- })
--
-- cmp.setup.cmdline('?', {
-- sources = {
-- { name = 'buffer' }
-- }
-- })
--
-- -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
-- cmp.setup.cmdline(':', {
-- sources = cmp.config.sources({
-- { name = 'path' }
-- }, {
-- { name = 'cmdline' }
-- })
-- })
require("cmp_r").setup({ })
end
}
end
}
}