From 1efc4c885e160bf8345fd94b8394855ef4be7ba3 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sat, 19 Jan 2019 22:11:33 +0100 Subject: [PATCH] Back to racer, RLS eats shit ton of memory --- init.vim | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/init.vim b/init.vim index b8f003b..57a7b92 100644 --- a/init.vim +++ b/init.vim @@ -26,12 +26,7 @@ Plug 'vim-airline/vim-airline-themes' Plug 'scrooloose/nerdtree' Plug 'w0rp/ale' Plug 'digitaltoad/vim-pug' -Plug 'prabirshrestha/async.vim' -Plug 'prabirshrestha/vim-lsp' -Plug 'prabirshrestha/asyncomplete.vim' -Plug 'prabirshrestha/asyncomplete-lsp.vim' - - +Plug 'racer-rust/vim-racer' call plug#end() " Line numbers and syntaxic coloration @@ -146,16 +141,7 @@ let g:deoplete#enable_at_startup = 1 " Autoclose preview autocmd CursorMovedI * if pumvisible() == 0|pclose|endif autocmd InsertLeave * if pumvisible() == 0|pclose|endif -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" - -if executable('rls') - au User lsp_setup call lsp#register_server({ - \ 'name': 'rls', - \ 'cmd': {server_info->['rustup', 'run', 'stable', 'rls']}, - \ 'whitelist': ['rust'], - \ }) -endif +" Complete on tab +inoremap pumvisible() ? "\" : "\" " }}}