macvim-dev / macvim-dev/macvim

guifontwide not work until manual reload vimrc

Open
#726 2 comments 1 reaction 0 assignees View on GitHub

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

  1. add guifontwide setting to .vimrc set guifontwide=<FontName>
  2. reopen MacVim, typing any double width character
  3. 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
step1

after reopen macvim
step2

then reload vimrc
step3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.