Skip to content

Commit

Permalink
Add reload/restart step to usage section (#1255)
Browse files Browse the repository at this point in the history
Reloading the .vimrc should be part of the usage section, not the example section.
  • Loading branch information
DanielApt committed Mar 7, 2024
1 parent 854b081 commit 03a9bb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 03a9bb6

Please sign in to comment.