Explicitly address the side-effects of plug#end() in the example
Close #1182
This commit is contained in:
parent
87a160a1c3
commit
d6cb65753f
2 changed files with 8 additions and 0 deletions
|
@ -136,7 +136,11 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||||
Plug '~/my-prototype-plugin'
|
Plug '~/my-prototype-plugin'
|
||||||
|
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
|
" - Automatically executes `filetype plugin indent on` and `syntax enable`.
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
" You can revert the settings after the call like so:
|
||||||
|
" filetype indent off " Disable file-type-specific indentation
|
||||||
|
" syntax off " Disable syntax highlighting
|
||||||
```
|
```
|
||||||
|
|
||||||
Reload .vimrc and `:PlugInstall` to install plugins.
|
Reload .vimrc and `:PlugInstall` to install plugins.
|
||||||
|
|
|
@ -172,7 +172,11 @@ Example~
|
||||||
Plug '~/my-prototype-plugin'
|
Plug '~/my-prototype-plugin'
|
||||||
|
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
|
" - Automatically executes `filetype plugin indent on` and `syntax enable`.
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
" You can revert the settings after the call like so:
|
||||||
|
" filetype indent off " Disable file-type-specific indentation
|
||||||
|
" syntax off " Disable syntax highlighting
|
||||||
<
|
<
|
||||||
*:PlugInstall*
|
*:PlugInstall*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue