From 4751110bb47cb0464c02f06e4d55c964524b7d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 10 Jan 2012 22:38:06 +0100 Subject: Add 'block' command to mako syntax --- .vim/syntax/mako.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.vim') diff --git a/.vim/syntax/mako.vim b/.vim/syntax/mako.vim index 474fa63..799dfa1 100644 --- a/.vim/syntax/mako.vim +++ b/.vim/syntax/mako.vim @@ -54,8 +54,8 @@ syn region makoAttributeValue containedin=makoTag contained start=/"/ skip=/\\"/ syn region makoAttributeValue containedin=MakoTag contained start=/'/ skip=/\\'/ end=/'/ " Tags -syn region makoTag matchgroup=makoDelim start="<%\(def\|call\|page\|include\|namespace\|inherit\|\(\w\+:\w\+\)\)\>" end="/\?>" -syn match makoDelim "" +syn region makoTag matchgroup=makoDelim start="<%\(def\|block\|call\|page\|include\|namespace\|inherit\|\(\w\+:\w\+\)\)\>" end="/\?>" +syn match makoDelim "" " Newline Escapes syn match makoEscape "\\$" -- cgit v1.2.3