mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 02:25:35 -07:00
Add reload/restart step to usage section (#1255)
Reloading the .vimrc should be part of the usage section, not the example section.
This commit is contained in:
parent
854b081934
commit
03a9bb6d84
@ -117,6 +117,7 @@ Add a vim-plug section to your `~/.vimrc` (or `stdpath('config') . '/init.vim'`
|
||||
1. `call plug#end()` to update `&runtimepath` and initialize plugin system
|
||||
- Automatically executes `filetype plugin indent on` and `syntax enable`.
|
||||
You can revert the settings after the call. e.g. `filetype indent off`, `syntax off`, etc.
|
||||
1. Reload the file or restart Vim and run `:PlugInstall` to install plugins.
|
||||
|
||||
#### Example
|
||||
|
||||
@ -168,8 +169,6 @@ call plug#end()
|
||||
" syntax off " Disable syntax highlighting
|
||||
```
|
||||
|
||||
Reload .vimrc and `:PlugInstall` to install plugins.
|
||||
|
||||
#### Example (Lua configuration for Neovim)
|
||||
|
||||
In Neovim, you can write your configuration in a Lua script file named
|
||||
|
Loading…
Reference in New Issue
Block a user