Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GVim theme italics cuts off character

Tags:

vim

themes

alt text

The italics cause the last character to cut off, making it hard to see.

Is this something that can be fixed without removing the italics style from the theme?

Using GVim with wombat theme on Windows.

EDIT: thanks kemp, it was indeed a font bug.

like image 490
Marco Avatar asked Mar 21 '10 20:03

Marco


2 Answers

As Kemp suggested and Marco acknowledged, it's a font issue. Here's how to fix it:

:set guifont=Consolas

Or, in vimrc:

if has("gui_macvim")
  set guifont=Menlo
elseif has("gui_running")
  set guifont=Consolas
endif
like image 73
Ed Brannin Avatar answered Nov 12 '22 05:11

Ed Brannin


As kemp suggested, the issue was with the font. Switching the font to something other than fixedsys resolved the issue.

like image 41
Marco Avatar answered Nov 12 '22 05:11

Marco