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

20
.vimrc
View file

@ -21,14 +21,16 @@ 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/neoinclude.vim'
Plugin 'Shougo/deoplete-clangx' Plugin 'wokalski/autocomplete-flow'
Plugin 'wokalski/autocomplete-flow' Plugin 'deoplete-plugins/deoplete-jedi'
Plugin 'deoplete-plugins/deoplete-jedi' Plugin 'deoplete-plugins/deoplete-clang'
else Plugin 'deoplete-plugins/deoplete-docker'
Plugin 'ajh17/VimCompletesMe' if !has('nvim')
endif Plugin 'roxma/nvim-yarp'
Plugin 'roxma/vim-hug-neovim-rpc'
endif
call vundle#end() call vundle#end()
filetype plugin indent on filetype plugin indent on
@ -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