2018-05-26 17:18:09 +00:00
|
|
|
call plug#begin('~/.vim/plugged')
|
|
|
|
|
2018-06-15 17:02:14 +00:00
|
|
|
if has('nvim')
|
2018-06-15 23:21:55 +00:00
|
|
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
2018-06-15 17:02:14 +00:00
|
|
|
else
|
|
|
|
Plug 'Shougo/deoplete.nvim'
|
|
|
|
Plug 'roxma/nvim-yarp'
|
|
|
|
Plug 'roxma/vim-hug-neovim-rpc'
|
|
|
|
endif
|
|
|
|
|
2018-06-15 22:47:36 +00:00
|
|
|
Plug 'Shougo/neosnippet.vim'
|
|
|
|
Plug 'honza/vim-snippets'
|
|
|
|
|
2018-05-26 17:18:09 +00:00
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
|
2018-06-15 22:47:36 +00:00
|
|
|
" Enable snipMate compatibility feature.
|
|
|
|
let g:neosnippet#enable_snipmate_compatibility = 1
|
|
|
|
|
|
|
|
|
2018-06-15 17:02:14 +00:00
|
|
|
" deoplete
|
2018-06-15 23:21:55 +00:00
|
|
|
let g:deoplete#enable_at_startup = 1
|