Skip to content

Commit d863d07

Browse files
committed
Add more explanation on plug#end()
1 parent b98b662 commit d863d07

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@ Reload the file or restart Vim, then you can,
134134
> document is for advanced users who want to know more about the features and
135135
> options.
136136
137+
> [!TIP]
138+
> `plug#end()` automatically executes `filetype plugin indent on` and `syntax
139+
> enable`. We believe this is a good default for most users, but if you don't
140+
> want this behavior, you can revert the settings after the call.
141+
>
142+
> ```vim
143+
> call plug#end()
144+
> filetype indent off " Disable file-type-specific indentation
145+
> syntax off " Disable syntax highlighting
146+
> ```
147+
137148
### Getting Help
138149
139150
- See [tutorial] page to learn more about the basics of vim-plug

0 commit comments

Comments
 (0)