macvim-dev / macvim-dev/macvim
guifontwide not work until manual reload vimrc
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
Version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 3 2018 05:14:32)
macOS version
Include patches: 1-235
Compiled by travis@Traviss-Mac-1044.local
Steps to reproduce
- add
guifontwidesetting to .vimrcset guifontwide=<FontName> - reopen MacVim, typing any double width character
- reload .vimrc by
source $MYVIMRC
What is expected
The double width character is exactly the font I set before or after reloading .vimrc
What is actually happening
The font only display correctly after reloading .vimrc
Example:
my setting

after reopen macvim

then reload vimrc

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in MacVim using the .vimrc setting set guifontwide=<FontName>, then compare startup behavior with reloading via source $MYVIMRC. Trace how guifontwide is applied when MacVim opens and when the vimrc is sourced; done means double-width characters use the configured font immediately after reopening.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100