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

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

View File

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

View File

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