remove command line completion

This commit is contained in:
Dietrich Rink
2023-06-10 15:11:30 +02:00
parent d0411ae53b
commit f5dc9a045e
3 changed files with 1 additions and 15 deletions

View File

@@ -17,7 +17,6 @@ pack 'lsp_signature.nvim'
-- Completion
pack 'cmp-buffer'
pack 'cmp-path'
pack 'cmp-cmdline'
pack 'cmp-nvim-lua'
pack 'cmp-nvim-lsp'
pack 'cmp_luasnip'

View File

@@ -76,16 +76,3 @@ cmp.setup {
return not context.in_syntax_group('Comment')
end,
}
-- Command line setup
cmp.setup.cmdline(':', {
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({
{ name = 'path' },
},{
{ name = 'cmdline' },
}),
completion = {
keyword_length = 2
},
})