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:
DanielApt 2024-03-07 14:31:28 +00:00 committed by GitHub
parent 854b081934
commit 03a9bb6d84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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