diff options
-rw-r--r-- | .config/nvim/init.vim | 25 | ||||
-rwxr-xr-x | .setup/confgit.sh | 2 |
2 files changed, 15 insertions, 12 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index e38b1c9..43b1695 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -9,17 +9,20 @@ Plug 'rust-lang/rust.vim' Plug 'w0rp/ale' Plug 'morhetz/gruvbox' -if has('nvim') - Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } - Plug 'autozimu/LanguageClient-neovim', { - \ 'branch': 'next', - \ 'do': 'bash install.sh', - \ } - let $NVIM_TUI_ENABLE_TRUE_COLOR=1 -else - Plug 'Shougo/deoplete.nvim' - Plug 'roxma/nvim-yarp' - Plug 'roxma/vim-hug-neovim-rpc' +if has('python3') + if has('nvim') + Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } + Plug 'autozimu/LanguageClient-neovim', { + \ 'branch': 'next', + \ 'do': 'bash install.sh', + \ } + let $NVIM_TUI_ENABLE_TRUE_COLOR=1 + else + Plug 'Shougo/deoplete.nvim' + Plug 'roxma/nvim-yarp' + Plug 'roxma/vim-hug-neovim-rpc' + endif + let g:deoplete#enable_at_startup = 1 endif call plug#end() diff --git a/.setup/confgit.sh b/.setup/confgit.sh index b0d1c59..3e99770 100755 --- a/.setup/confgit.sh +++ b/.setup/confgit.sh @@ -31,7 +31,7 @@ if [ "$(command -v delta)" ]; then # git config --global delta.side-by-side true git config --global delta.side-by-side false # git config --global delta.syntax-theme "Solarized (light)" - # git config --global delta.syntax-theme "gruvbox-dark" + git config --global delta.syntax-theme "gruvbox-dark" fi case `uname` in |