Try this then: :set ft=somesyntax WBR, Ivan.
> On Mon, Oct 6, 2008 at 1:17 PM, Jürgen Krämer <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> Efraim Yawitz wrote: >> >>> Why doesn't the following work to make all files in a given directory >>> have a certain syntax highlighting? >>> >>> :au BufRead /some/directory set syn=somesyntax >>> >> because the command is missing the file name part in the pattern >> >> :au BufRead /some/directory/* set syn=somesyntax >> >> > > I looked back at the command I tried to run and it did have the '*'. > I only forgot to copy it in my email > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
