vim-colors-solarized
vim-colors-solarized copied to clipboard
g:solarized_underline=0 ignored using latest vim build
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.
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
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
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!
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:
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.
It makes me feel strange, so what is causing this problem?