mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Explicitly address the side-effects of plug#end() in the example
Close #1182
This commit is contained in:
parent
87a160a1c3
commit
d6cb65753f
@ -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 New Issue
Block a user