From b9f41964c6bb7107d2c71674e6d90a4f97e210e5 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 4 Mar 2020 10:30:51 +0100 Subject: Fixed ycm compilation --- vim/.vim/vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vim') diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 8785a22..3e4076f 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -14,7 +14,7 @@ Plug 'unblevable/quick-scope' Plug 'vim-airline/vim-airline-themes' if executable('ansible') -Plug 'chase/vim-ansible-yaml' + Plug 'chase/vim-ansible-yaml' endif if has('python') || has('python3') @@ -28,6 +28,10 @@ if has('python') || has('python3') let g:ycm_install_command .= ' --gocode-completer' endif + if executable('rustc') + let g:ycm_install_command .= ' --rust-completer' + endif + Plug 'Valloric/YouCompleteMe', {'do': g:ycm_install_command} endif @@ -77,7 +81,7 @@ set ignorecase set smartcase " capital letters = case sensitive " Disable ex mode -" nnoremap Q +nnoremap Q " Save as sudo cnoremap w!! w !sudo tee > /dev/null % -- cgit v1.2.3