Source

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

Full commit
" 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