Vim: remove coc from config

This commit is contained in:
Robert Kmieć
2022-12-30 11:53:20 +01:00
parent 6d2af89197
commit b240029029

View File

@@ -22,8 +22,8 @@ call plug#begin('~/.vim/bundle')
"Plug 'Shougo/neocomplete.vim'
"Plug 'lyuts/vim-rtags'
"Plug 'JBakamovic/cxxd-vim'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'jackguo380/vim-lsp-cxx-highlight'
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
"Plug 'jackguo380/vim-lsp-cxx-highlight'
" }}}
" Mappings {{{
@@ -426,7 +426,6 @@ setglobal virtualedit=block
setglobal shiftround
set shortmess+=c
inoremap <silent><expr> <leader><space> coc#refresh()
set signcolumn=yes
set cmdheight=2
"inoremap <silent><expr> <TAB>
@@ -440,16 +439,6 @@ function! s:check_back_space() abort
return !col || getline('.')[col - 1] =~# '\s'
endfunction
function! s:show_documentation()
if (index(['vim','help'], &filetype) >= 0)
execute 'h '.expand('<cword>')
else
call CocAction('doHover')
endif
endfunction
autocmd CursorHold * silent call CocActionAsync('highlight')
"hi None ctermbg=None ctermfg=None
let g:vim_search_pulse_mode = 'pattern'