Skip to content

Commit

Permalink
Add more explanation on plug#end()
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jun 19, 2024
1 parent b98b662 commit d863d07
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,17 @@ Reload the file or restart Vim, then you can,
> document is for advanced users who want to know more about the features and
> options.
> [!TIP]
> `plug#end()` automatically executes `filetype plugin indent on` and `syntax
> enable`. We believe this is a good default for most users, but if you don't
> want this behavior, you can revert the settings after the call.
>
> ```vim
> call plug#end()
> filetype indent off " Disable file-type-specific indentation
> syntax off " Disable syntax highlighting
> ```
### Getting Help

- See [tutorial] page to learn more about the basics of vim-plug
Expand Down

0 comments on commit d863d07

Please sign in to comment.