Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only highlight vim-plug buffers if syntax highlighting is enabled #386

Merged
merged 1 commit into from
Jan 25, 2016
Merged

Only highlight vim-plug buffers if syntax highlighting is enabled #386

merged 1 commit into from
Jan 25, 2016

Conversation

srstevenson
Copy link
Contributor

Previously, syntax highlighting was turned on unconditionally in the buffers opened by commands such as :PlugUpdate. With this commit, highlighting is not applied if the user has disabled syntax highlighting
by calling syntax off after call plug#end() in their vimrc.

Previously, syntax highlighting was turned on unconditionally in the
buffers opened by commands such as `:PlugUpdate`. With this commit,
highlighting is not applied if the user has disabled syntax highlighting
by calling `syntax off` after `call plug#end()` in their `vimrc`.
@junegunn
Copy link
Owner

Looks good to me. Thanks.

junegunn added a commit that referenced this pull request Jan 25, 2016
Only highlight vim-plug buffers if syntax highlighting is enabled
@junegunn junegunn merged commit 676174c into junegunn:master Jan 25, 2016
@srstevenson srstevenson deleted the conditional-syntax-highlighting branch January 25, 2016 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants