Consistency

Junegunn Choi 2020-12-02 09:51:52 +09:00
parent 0f9aac4253
commit 81d52eff1e

@ -2,7 +2,7 @@
### Automatic installation ### Automatic installation
Place the following code in your .vimrc before `plug#begin()` call _Place the following code in your .vimrc before `plug#begin()` call_
```vim ```vim
if empty(glob('~/.vim/autoload/plug.vim')) if empty(glob('~/.vim/autoload/plug.vim'))
@ -24,9 +24,9 @@ Resort to this only if git cannot get updated certificates or if Github has TLS/
You can even go a step further and make `:PlugInstall` run on startup if there are any missing plugins. You can even go a step further and make `:PlugInstall` run on startup if there are any missing plugins.
```vim _Place the following code in your .vimrc before `plug#begin()` call_
" Put this code before Plug block (plug#begin ~ plug#end)
```vim
" Install vim-plug if not found " Install vim-plug if not found
if empty(glob('~/.vim/autoload/plug.vim')) if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs