vim-colors-solarized icon indicating copy to clipboard operation
vim-colors-solarized copied to clipboard

g:solarized_underline=0 ignored using latest vim build

Open petertorelli opened this issue 8 years ago • 3 comments

Hello, Not sure if this is a VIM config or Solarized issue, but here are two side-by-side shots of vim on an XTerm (left) and vim as gvim (on the right, latest build 8.0.6, on ubuntu 14.04).

Note the comments of the first few lines on the gvim window to the right, they are underlined, despite the fact that underlining is turned off by the "let" command.

image

This is a fresh vim build and install and I haven't overridden anything in ~/.vim yet. Suggestions, or is this a vim config problem?

Thanks in advance, Peter

petertorelli avatar Sep 22 '16 01:09 petertorelli

XTerm is not too good with vim and color schemes. I personally don't use it but found this, it might be helpful : http://stackoverflow.com/questions/8640276/how-do-i-change-my-vim-highlight-line-to-not-be-an-underline

himanshuxd avatar Sep 24 '16 20:09 himanshuxd

hi @Ashdrogo, in this case XTerm (left) is correct and the GTK(?) window Gvim (right) is incorrect. Also, that stackoverflow did not solve the problem. Thanks for the reply though!

petertorelli avatar Sep 24 '16 20:09 petertorelli

Hello, I met this weird problem on the iVim(A port of Vim for iOS), and it looks like using GVim as its GUI implementation similarly. After some useless work, finally, when I checked the highlight configuration by using :highlight Comment, I found out what the problem was an wrong Italic setting:

8393E27B-9E0E-45F3-BD38-388B77464BF9

Now I know why g:solarized_underline=0 is not working, and the solution is very easy, just add let g:solarized_italic=0 in your .vimrc before the colorscheme line.

512FDE46-2403-4623-B302-A22D3F061AFC

It makes me feel strange, so what is causing this problem?

StrayDragon avatar Nov 13 '19 17:11 StrayDragon