diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -3,10 +3,9 @@ set nocompatible filetype off call plug#begin('~/.vim/bundle') " Auto completion +Plug 'Shougo/ddc.vim' +Plug 'vim-denops/denops.vim' Plug 'dense-analysis/ale' -Plug 'Shougo/deoplete.nvim' -Plug 'roxma/vim-hug-neovim-rpc' -Plug 'roxma/nvim-yarp', { 'do': 'pip3 install -r requirements.txt' } " Essential plugins Plug 'editorconfig/editorconfig-vim' @@ -178,15 +177,12 @@ let g:ale_linters = { \} " let g:go_fmt_command="gopls" let g:go_gopls_gofumpt=1 +let g:ale_completion_enabled = 1 -"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>" -inoremap <silent><expr> <S-Tab> - \ pumvisible() ? "\<C-p>" : "\<S-TAB>" +"DDC +"=== +inoremap <expr> <TAB> pumvisible() ? '<C-n>' : '<TAB>' +inoremap <expr> <S-TAB> pumvisible() ? '<C-p>' : '<C-h>' "polyglot" "============= |
