Commits

Andriy Kornatskyy committed ce70393

Added syntax file for wheezy.template HTML markup.

  • Participants
  • Parent commits ffc5826

Comments (0)

Files changed (1)

File vim/bundle/wheezy/after/syntax/html.vim

+" Vim syntax file
+" Language: wheezy template
+" Maintainer: Andriy Kornatskyy
+" Latest Revision: 2 June 2012
+
+" Matches
+syn match wComment '@#.*$'
+syn match wBlock '\s*@($'
+syn match wBlock '\s*#($'
+syn match wBlock '^\s*)$'
+syn match wBlock '@(.*)'
+syn match wBlock '#(.*)'
+syn match wVar '\(@\)\@<!@[a-z\._]\+'
+syn match wVar '\(#\)\@<!#[a-z\._]\+'
+syn match wStmt ':$'
+syn match wStmt '\(@\)\@<!@\(def\|for\|if\|elif\|else\|end\|require\|extends\|include\|from\|import\|inline\)'
+syn match wStmt '\(#\)\@<!#\(def\|for\|if\|elif\|else\|end\|require\|extends\|include\|from\|import\|inline\)'
+"syn match wComment '^\s*#.*$'
+
+
+
+hi def link wComment    Comment
+hi def link wBlock      PreProc
+hi def link wStmt       Statement
+hi def link wVar        Special