2 " Language: Blank 1.4.1
3 " Maintainer: Rafal M. Sulejman <unefunge@friko2.onet.pl>
4 " Last change: 2011 Dec 28 by Thilo Six
6 " For version 5.x: Clear all syntax items
7 " For version 6.x: Quit when a syntax file was already loaded
10 elseif exists("b:current_syntax")
20 syn match blankInstruction "{[:;,\.+\-*$#@/\\`'"!\|><{}\[\]()?xspo\^&\~=_%]}"
23 syn match blankString "\~[^}]"
26 syn match blankNumber "\[[0-9]\+\]"
30 " Define the default highlighting.
31 " For version 5.7 and earlier: only when not done already
32 " For version 5.8 and later: only when an item doesn't have highlighting yet
33 if version >= 508 || !exists("did_blank_syntax_inits")
35 let did_blank_syntax_inits = 1
36 command -nargs=+ HiLink hi link <args>
38 command -nargs=+ HiLink hi def link <args>
41 HiLink blankInstruction Statement
42 HiLink blankNumber Number
43 HiLink blankString String
48 let b:current_syntax = "blank"