On 2013-04-27, Phil Dobbin wrote:
> On 27/04/2013 14:41, Javier Garcia wrote:
> 
> > Hi,
> > 
> > I have installed .vim/syntax/htmljinja.vim and wrote this in my .vimrc:
> > 
> > au BufRead,BufNewFile *.twig set syntax=htmljinja
> 
> Try:
> 
> 'au BufRead,BufNewFile {*.twig} set ft=htmljinja'

The {} are not necessary.

Regards,
Gary

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to