macvim-dev / macvim-dev/macvim

Vim dev-icons do not render correctly:

Open
#631 7 comments 5 reactions 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

They only render at half width. They render fine in the terminal:

screen shot 2018-02-07 at 10 32 14 pm

See this issue here: It seems to be an issue with Macvim. (Can reproduce on latest release).

(I currently summarized the Mac OS behavior at the end of the thread): https://github.com/ryanoasis/vim-devicons/issues/133

Setting CoreText Renderer=off fixes the problem and tanks perf/quality.
Setting ambiwidth=doub.e does seem to fix some of the icon drawing, and has some other remaining issues such as the following rendering of airline (latest MacVim, font=PragmataPro).
Notice the gap next to the arrow. That only shows up with ambiwidth=double.

screen shot 2018-02-07 at 10 21 14 pm

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

No files or tests are named. Start by reproducing the half-width dev-icons in the latest MacVim release and read the linked issue 133 for the summarized macOS behavior and renderer settings; done means the icons render correctly without relying on the reported performance or quality trade-offs.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.