> -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Gary Johnson > Sent: Wednesday, October 08, 2008 1:11 AM > To: [email protected] > Subject: Re: autocommand for syntax > > > > Is it? Have you tested? > > Yes. Before I posted. > > When the OP claimed it didn't work, a number of people jumped to the > conclusion that the pattern "/some/path/*" was not valid and > suggested alternative patterns and tests. Since "/some/path/*" is a > valid autocommand pattern, then something else is wrong.
Maybe the missing * in the OP's pattern? > :au BufRead /some/directory set syn=somesyntax Henrik. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
