rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Gutter rendering cut off #240

Closed jrolfs closed 8 years ago

jrolfs commented 8 years ago

When switching to and from neovim-dot-app gutter symbols get cut off until they are re-rendered by the plugin that placed them (neomake in this case).

This does not happen in iTerm and Terminal.

Is there a setting to make the gutter slightly larger?

Before: Before

After: After

rogual commented 8 years ago

I'm guessing this isn't gutter-specific and will apply to any character that's wider than its cell.

It's difficult to know how to handle this, really. Vim is explicitly grid-oriented, and doesn't support proportional fonts. It does treat some characters as double-width and draws them across two cells, but if your font calls itself monospaced and some chars are too wide, it's never going to look great.

If we drew backgrounds first and then all chars on top, your case would start looking better, I think.

jrolfs commented 8 years ago

Is your suggestion feasible or should I plan on resizing the characters? :)

rogual commented 8 years ago

It's feasible, and I'd accept PRs that implemented it, but I'm not planning on writing it. Resizing them might be the way to go.

jrolfs commented 8 years ago

For the record, I recently switch to using the the Font Awesome glyphs in Fura Code from nerd-fonts instead of whatever unicode glyph was being used by default in Neomake and this issue went away.

乁| ・ 〰 ・ |ㄏ

ss