vimrc: extended deoplete integration

This commit is contained in:
Tobias Schmidl 2019-12-14 06:11:07 +01:00 committed by Tobias Schmidl
parent 38f0ecb85b
commit 3397655a6c

12
.vimrc
View file

@ -21,13 +21,15 @@ call vundle#begin()
Plugin 'vim-scripts/nginx.vim' Plugin 'vim-scripts/nginx.vim'
Plugin 'wincent/terminus' Plugin 'wincent/terminus'
Plugin 'Xuyuanp/nerdtree-git-plugin' Plugin 'Xuyuanp/nerdtree-git-plugin'
if has('nvim')
Plugin 'Shougo/deoplete.nvim' Plugin 'Shougo/deoplete.nvim'
Plugin 'Shougo/deoplete-clangx' Plugin 'Shougo/neoinclude.vim'
Plugin 'wokalski/autocomplete-flow' Plugin 'wokalski/autocomplete-flow'
Plugin 'deoplete-plugins/deoplete-jedi' Plugin 'deoplete-plugins/deoplete-jedi'
else Plugin 'deoplete-plugins/deoplete-clang'
Plugin 'ajh17/VimCompletesMe' Plugin 'deoplete-plugins/deoplete-docker'
if !has('nvim')
Plugin 'roxma/nvim-yarp'
Plugin 'roxma/vim-hug-neovim-rpc'
endif endif
call vundle#end() call vundle#end()
@ -41,6 +43,8 @@ let g:airline_theme='solarized'
let g:airline_solarized_bg='dark' let g:airline_solarized_bg='dark'
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#clang#libclang_path = '/usr/lib/llvm-default/lib/libclang.so.1'
let g:deoplete#sources#clang#clang_header = '/usr/lib/llvm-default/lib/clang/default/include'
set encoding=utf-8 set encoding=utf-8
set icon set icon
set smartcase set smartcase