mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-07 01:24:27 +08:00
Add more explanation on plug#end()
This commit is contained in:
11
README.md
11
README.md
@@ -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
|
> document is for advanced users who want to know more about the features and
|
||||||
> options.
|
> 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
|
### Getting Help
|
||||||
|
|
||||||
- See [tutorial] page to learn more about the basics of vim-plug
|
- See [tutorial] page to learn more about the basics of vim-plug
|
||||||
|
|||||||
Reference in New Issue
Block a user