mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
Enable syntax only during startup
Related discussion can be found in #83. If the user choose not to use syntax highlighting, he can disable it by putting `syntax off` after `plug#end()`. But since `plug#end()` is called by `PlugInstall` or `PlugUpdate`, it is reenabled on those commands which is not desirable. This commit fixes the issue by changing `plug#end` to do `syntax enable` only during Vim startup.
This commit is contained in:
parent
0e907d4f38
commit
f31477407a