Strange that it works for me. I changed the book to use isdirectory. robert
On Wednesday March 28 2007 02:59, Jan Dvořák wrote:
> Robert Connolly wrote:
> > Someone emailed me the fix for vimrc:
> >
> > if ("/usr/share/vim")
> > if has('syntax')
> > syntax on
> > endif
> > endif
>
> This snippet does not work for me.
>
> if (isdirectory("/usr/share/vim"))
> if has('syntax')
> syntax on
> endif
> endif
>
> That does.
pgpupzoSxrJ3N.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
