remove command line completion
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user