I have an xterm compiled with 256 color support. In Vim 7.2.88 after it loads up I can do :set t_Co to find that 256 color support is being found correctly (TERM = xterm-color). However, I cannot figure out how to determine whether 256 colors are supported on startup, as the value of t_Co is 8 at the time my .vimrc is loaded.
I've tried a few autocommands, such as VimEnter and TermChanged but the value of t_Co in both of them is still 8, rather than the 256 I expect. At what point does t_Co get set to reflect the capabilities of the terminal, and how can I detect it during startup? Thanks, -- Taylor Christopher Venable http://real.metasyntax.net:2357/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
