From 6b87c06fdfb1e3f4d4cad695aa6b7c3fb72fe616 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Mon, 24 Aug 2020 14:07:28 +0200 Subject: [PATCH] don't use coc --- README.org | 1 - neovim/.config/nvim/init.vim | 22 ---------------------- 2 files changed, 23 deletions(-) diff --git a/README.org b/README.org index aa01f6a..576e1f5 100644 --- a/README.org +++ b/README.org @@ -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]] diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 7bcaa7d..9376795 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -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 f (coc-format-selected) - nmap f (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 te :call CocAction('runCommand', 'jest.singleTest') - - " Init jest in current cwd, require global jest command exists - command! JestInit :call CocAction('runCommand', 'jest.init') - - " use and to navigate completion list - inoremap pumvisible() ? "\" : "\" - inoremap pumvisible() ? "\" : "\" - " } - " ale { " Shortcuts jump between linting errors map [c (ale_previous_wrap)