diff options
| -rw-r--r-- | .vimrc | 35 |
1 files changed, 10 insertions, 25 deletions
@@ -11,10 +11,10 @@ Plug 'junegunn/gv.vim' Plug 'junegunn/limelight.vim' Plug 'junegunn/goyo.vim' Plug 'vim-scripts/bufexplorer.zip' -Plug 'ycm-core/YouCompleteMe', { - \ 'do': 'python3 ./install.py --clangd-completer --go-completer' } - " \ 'do': 'python3 ./install.py --clangd-completer --go-completer --java-completer' } - " \ 'do': 'python3 ./install.py --clangd-completer --ts-completer --go-completer' } +Plug 'dense-analysis/ale' +Plug 'Shougo/deoplete.nvim' +Plug 'roxma/vim-hug-neovim-rpc' +Plug 'roxma/nvim-yarp', { 'do': 'pip3 install -r requirements.txt' } Plug 'Valloric/MatchTagAlways' Plug 'scrooloose/nerdcommenter' Plug 'preservim/nerdtree' @@ -164,27 +164,12 @@ autocmd FileType ruby setlocal nospell " disable spell ch """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Plugin maps """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -"YouCompleteMe & vim-flake8 -"========================== -let g:ycm_auto_hover='' -let g:ycm_enable_diagnostic_signs = 1 -let g:ycm_autoclose_preview_window_after_completion = 1 -let g:ycm_autoclose_preview_window_after_insertion = 1 - -nnoremap <C-]> :YcmCompleter GoTo<CR> -nmap <F7> <Plug>(YCMFindSymbolInWorkspace) -nnoremap <Leader>r :YcmCompleter Format<CR> -nnoremap <Leader>d :YcmCompleter GetDoc<CR> - -" Python pipenv auto complete -let pipenv_venv_path = system('pipenv --venv') -if shell_error == 0 - let venv_path = substitute(pipenv_venv_path, '\n', '', '') - let g:ycm_python_binary_path = venv_path . '/bin/python' - let g:flake8_cmd = venv_path . '/bin/flake8' -else - let g:ycm_python_binary_path = '/usr/local/bin/python3' -endif +"Deoplete (Auto complete) +"======================== +let g:deoplete#enable_at_startup = 1 +" use tab for cycle through the omnifunc suggestions +inoremap <silent><expr> <Tab> + \ pumvisible() ? "\<C-n>" : "\<TAB>" "polyglot" "============= |
