On Thu, Nov 13, 2008 at 09:38, Frank Shute <[EMAIL PROTECTED]> wrote:
> I'm tring to select a colorscheme dependent on filetype for gvim.
>
> I've got this in ~/.gvimrc:
>
> filetype plugin on
>
> if &ft == "sh" || &ft == "perl"
>        colors desert
> else
>        colors wombat
> endif

Try this:

filetype on

au FileType c    colorscheme delek
au FileType java colorscheme darkblue

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to