remove command line completion
This commit is contained in:
@@ -11,9 +11,9 @@ RUN printf '%s\n' \
|
||||
christoomey/vim-tmux-navigator benmills/vimux ap/vim-buftabline \
|
||||
nvim-tree/nvim-tree.lua nvim-tree/nvim-web-devicons ctrlpvim/ctrlp.vim \
|
||||
hrsh7th/nvim-cmp ray-x/lsp_signature.nvim hrsh7th/cmp-buffer \
|
||||
hrsh7th/cmp-path hrsh7th/cmp-nvim-lua hrsh7th/cmp-cmdline \
|
||||
hrsh7th/cmp-nvim-lsp neovim/nvim-lspconfig saadparwaiz1/cmp_luasnip \
|
||||
L3MON4D3/LuaSnip jiangmiao/auto-pairs tpope/vim-surround tpope/vim-repeat \
|
||||
hrsh7th/cmp-path hrsh7th/cmp-nvim-lua \
|
||||
rebelot/kanagawa.nvim \
|
||||
| xargs -n1 -P0 -I'{}' git clone --depth 1 'https://github.com/{}'
|
||||
RUN printf 'helptags %s\n' */doc | nvim --noplugin -es
|
||||
|
||||
@@ -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