I am using altercation's vim-solarized plugin to set my default colorscheme and have set my xterm to use solarized colors as well.When I try to run :TOhtml on a buffer, say on $MYVIMRC, the resulting html file has different colors than it is supposed to have. How can I get the right colors/colorscheme for the html file?
Using :TOhtml with solarized colorscheme
colorscheme;plugin solarized
You can't get the right colors in a terminal emulator because the colors used for highlighting are defined as red or bright cyan which are then user-defined at the terminal emulator level and could mean anything, especially in the case of Solarized where bright cyan is actually a freaking grey.You can get the right colors in GVim, though, because syntax highlighting is done with fixed values.