1
0
mirror of https://github.com/alrayyes/server-dotfiles synced 2023-11-14 15:56:25 +00:00

don't use coc

This commit is contained in:
Ryan Kes 2020-08-24 14:07:28 +02:00
parent 62df494508
commit 6b87c06fdf
2 changed files with 0 additions and 23 deletions

View File

@ -107,7 +107,6 @@ A repository of my personal server configuration files.
- [[https://github.com/alvan/vim-closetag][alvan/vim-closetag]]
- [[https://github.com/dense-analysis/ale][dense-analysis/ale]]
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
- [[https://github.com/neoclide/coc.nvim][neoclice/coc.nvim]]
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
- [[https://github.com/sheerun/vim-polyglot][sheerun/vim-polyglot]]

View File

@ -36,7 +36,6 @@
Plug 'alvan/vim-closetag'
Plug 'dense-analysis/ale'
Plug 'godlygeek/tabular'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdcommenter'
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
Plug 'sheerun/vim-polyglot'
@ -160,27 +159,6 @@
set termguicolors
" }
" coc {
vmap <leader>f <Plug>(coc-format-selected)
nmap <leader>f <Plug>(coc-format-selected)
" Run jest for current project
command! -nargs=0 Jest :call CocAction('runCommand', 'jest.projectTest')
" Run jest for current file
command! -nargs=0 JestCurrent :call CocAction('runCommand', 'jest.fileTest', ['%'])
" Run jest for current test
nnoremap <leader>te :call CocAction('runCommand', 'jest.singleTest')<CR>
" Init jest in current cwd, require global jest command exists
command! JestInit :call CocAction('runCommand', 'jest.init')
" use <Tab> and <S_tab> to navigate completion list
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" }
" ale {
" Shortcuts jump between linting errors
map <silent> [c <Plug>(ale_previous_wrap)