cmdline(), sources = { { name = 'buffer' } } }) Completions for command mode: -- `:` cmdline setup. cmp.setup.cmdline(':', { mapping = cmp.mapping.preset.cmdline(), sources = cmp.config.sources({ { name = 'path' } }, { { name = 'cmdline', option = { ignore_cmds = {...
local capabilities=require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) require'lspconfig'.cssls.setup { capabilities=capabilities, }require("cmp").setup.cmdline(":", { sources={ { name="cmdline"}, }, }) EOF...
Make sure you have done the following I have updated to the latest version of blink.cmp I have read the README Bug Description I can't seem to make select_and_accept work in cmdline mode with my preferred mapping <C-f> (the default <C-y>...
Bug Description When a keymap is set for<Esc>and escape is pressed when typing in the cmdline, the command is always sent. For example: From normal mode, type:w Press escape Notice that nvim writes the file nvim does not write to the file when the<Esc>keymap is not set, which is ...
-- ADD THIS cmp.setup.cmdline(':', { mapping = cmp.mapping.preset.cmdline(), -- important! sources = { { name = 'nvim_lua' }, { name = 'cmdline' }, }, }) cmp.setup.cmdline('/', { mapping = cmp.mapping.preset.cmdline(), -- important! sources = { { name = 'buffer' ...