Thank you Brett and rest of guys for your help! I simply added syntax on in my .vimrc as suggested by Brett. and the colorscheme start to work.
Shuda On Mon, Nov 22, 2010 at 8:22 PM, Brett Stahlman <[email protected]>wrote: > > > On Nov 21, 10:37 am, shuda Li <[email protected]> wrote: > > I de-installed Vim72 by running the following command: > > > > >sudo apt-get remove vim-tiny vim-runtime vim-gui-common vim-gnome > vim-doc > > > > vim-dbg vim-common vim jvim-doc jvim-canna libvi-quickfix-perl > > libtext-vimcolor-perl vimhelp-de vim-vimoutliner vim-syntax-gtk > vim-scripts > > vim-rails vim-puppet vim-nox vim-latexsuite vim-gtk vim-addon-manager > > > > and installed Vim 7.3 by compiling the source. Tho OS I use is Ubuntu > > 10.04. > > > > However, when I start Vim7.3 I found the colorscheme doen't work any > more. I > > tried all choice in "Edit -> color schems". Only the background color > was > > applied see attached image. > > > > I wonder what's wrong with my new installation. > > Are you sure you have... > syntax on > ...in your .vimrc? If you don't have this command somewhere in your > startup, activating a specific colorscheme will change background > color, but you won't get language-specific syntax highlighting. > > Sincerely, > Brett Stahlman > > > > > Best, > > > > Shuda > > > > Screenshot.png > > 277KViewDownload > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
