Skip to content

Only override 'guitablabel' if user hasn't already set it #903

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

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

ychin
Copy link
Member

@ychin ychin commented Jun 9, 2019

If guitablabel is already set in .vimrc, don't have the MacVim default gvimrc override it. Even though Vim's docs recommend putting GUI settings in gvimrc, that's mostly for technical reasons, and MacVim should still aim to respect settings that a user has already set. This also makes it behave more similarly with Vim (you can set 'guitablabel' in vimrc or gvimrc and it would still work).

This was previously done in #635 but reverted, but #899 raised this issue again.

Close #899

If guitablabel is already set in .vimrc, don't have the MacVim default
gvimrc override it. Even though Vim's docs recommend putting GUI
settings in gvimrc, that's mostly for technical reasons, and MacVim
should still aim to respect settings that a user has already set. This
also makes it behave more similarly with Vim (you can set 'guitablabel'
in vimrc or gvimrc and it would still work).

This was previously done in macvim-dev#635 but reverted, but macvim-dev#899 raised this
issue again.

Close macvim-dev#899
@ychin ychin merged commit 70a3046 into macvim-dev:master Jun 11, 2019
@ychin ychin deleted the gvimrc-guitablabel-defaults branch June 21, 2019 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Would like to set 'guitablabel' from ~/.vim/pack/mypackage
1 participant