From 8ec17c86b305deb2a79fc41ac59c9be64a0583fb Mon Sep 17 00:00:00 2001 From: Cheri Date: Fri, 18 Feb 2022 13:43:37 +0200 Subject: [PATCH] nvim: No more CoC --- nvim/init.vim | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index 401e425..2c2aa5f 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -50,7 +50,6 @@ Plug 'sainnhe/everforest' Plug 'patstockwell/vim-monokai-tasty' Plug 'antoinemadec/FixCursorHold.nvim' Plug 'lambdalisue/fern.vim' -Plug 'neoclide/coc.nvim', {'branch': 'release'} call plug#end() @@ -149,29 +148,3 @@ nnoremap h nnoremap j nnoremap k nnoremap l - -" COC - -"" Use tab for trigger completion with characters ahead and navigate. -"inoremap -" \ pumvisible() ? "\" : -" \ check_back_space() ? "\" : -" \ coc#refresh() -"inoremap pumvisible() ? "\" : "\" -" -"function! s:check_back_space() abort -" let col = col('.') - 1 -" return !col || getline('.')[col - 1] =~# '\s' -"endfunction -" -"" Use to trigger completion. -"if has('nvim') -" inoremap coc#refresh() -"else -" inoremap coc#refresh() -"endif -" -"" Make auto-select the first completion item and notify coc.nvim to -"" format on enter, could be remapped by other vim plugin -"inoremap pumvisible() ? coc#_select_confirm() -" \: (((add a double quote here after uncommenting this)\u\\=coc#on_enter()\"