diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -144,6 +144,7 @@ autocmd BufLeave * call s:copy_filename_as_mdlink() call plug#begin('~/.vim/plugged') Plug 'morhetz/gruvbox' Plug 'ledger/vim-ledger' +Plug 'ycm-core/YouCompleteMe' "Plug 'prabirshrestha/vim-lsp' Plug 'ledger/vim-ledger' "Plug 'alok/notational-fzf-vim' @@ -173,9 +174,18 @@ Plug 'fatih/vim-go', { 'tag': '*' } Plug 'powerman/vim-plugin-AnsiEsc' "Plug 'majutsushi/tagbar' call plug#end() - -" vim-test +" YouCompleteMe +let g:ycm_python_interpreter_path = '.venv/bin/python3' +let g:ycm_python_sys_path = [] +let g:ycm_extra_conf_vim_data = [ + \ 'g:ycm_python_interpreter_path', + \ 'g:ycm_python_sys_path' + \] +let g:ycm_global_ycm_extra_conf = '~/.global_extra_conf.py' +nnoremap <leader>jd :YcmCompleter GoTo<CR> + +" vim-test " use vim-dispatch to run tests in the quickfix window " from Modern Vim Ch.4 " the mappings below are from vim-test |