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 'Shougo/neocomplete.vim'
|
||||||
"Plug 'lyuts/vim-rtags'
|
"Plug 'lyuts/vim-rtags'
|
||||||
"Plug 'JBakamovic/cxxd-vim'
|
"Plug 'JBakamovic/cxxd-vim'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'jackguo380/vim-lsp-cxx-highlight'
|
"Plug 'jackguo380/vim-lsp-cxx-highlight'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Mappings {{{
|
" Mappings {{{
|
||||||
@@ -426,7 +426,6 @@ setglobal virtualedit=block
|
|||||||
setglobal shiftround
|
setglobal shiftround
|
||||||
|
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
inoremap <silent><expr> <leader><space> coc#refresh()
|
|
||||||
set signcolumn=yes
|
set signcolumn=yes
|
||||||
set cmdheight=2
|
set cmdheight=2
|
||||||
"inoremap <silent><expr> <TAB>
|
"inoremap <silent><expr> <TAB>
|
||||||
@@ -440,16 +439,6 @@ function! s:check_back_space() abort
|
|||||||
return !col || getline('.')[col - 1] =~# '\s'
|
return !col || getline('.')[col - 1] =~# '\s'
|
||||||
endfunction
|
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
|
"hi None ctermbg=None ctermfg=None
|
||||||
|
|
||||||
let g:vim_search_pulse_mode = 'pattern'
|
let g:vim_search_pulse_mode = 'pattern'
|
||||||
|
|||||||
Reference in New Issue
Block a user