On Sun, Oct 12, 2008 at 1:32 AM, Bob Hiestand <[EMAIL PROTECTED]> wrote:
>
> If this is still a problem, please try running vim without any startup
> files (vim -U NONE -u NONE) and execute just your autocommand, and
> then test it.  I can't make it fail by trying a couple of obvious
> configurations.  Also, please include the exact text of your
> autocommand.
I just tried it with -U NONE -u NONE and got the same result
Here's the exact autocommand:

:au BufRead /ephraim/msys/1.0/home/ephraim/src/lout-3.34/include/* set syn=lout

And I then did:

:lcd \ephraim\msys\1.0\home\ephraim\src\lout-3.34\include\
"backslashes since I'm on M$Win
:e diag

and a :set syn gave :syn=conf

If I do:

:e \ephraim\msys\1.0\home\ephraim\src\lout-3.34\include\diagf "Note: a
different file.  Reopening the same file (even after a :bd) doesn't
help

from within that same directory the syntax is lout, as desired

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

Reply via email to