Hi,

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

Unfortunately, this always gives me colorscheme wombat. Could somebody
tell me what I'm doing wrong?

Vim 7.1 on:

FreeBSD 7.1-PRERELEASE amd64

Many thanks,


-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 


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

Reply via email to