Vim: remove coc from config
This commit is contained in:
15
.vim/vimrc
15
.vim/vimrc
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user