Start anew
[msysgit.git] / share / vim / vim58 / syntax / blank.vim
blob40688c872e8b23f77c255c03c66aaa9ec946da99
1 " Vim syntax file
2 " Language:     Blank 1.4.1
3 " Maintainer:   Rafal M. Sulejman <unefunge@friko2.onet.pl>
4 " Last change:  21 Jul 2000
6 " For version 5.x: Clear all syntax items
7 " For version 6.x: Quit when a syntax file was already loaded
8 if version < 600
9   syntax clear
10 elseif exists("b:current_syntax")
11   finish
12 endif
14 syn case ignore
16 " Blank instructions
17 syn match blankInstruction "{[:;,\.+\-*$#@/\\`'"!\|><{}\[\]()?xspo\^&\~=_%]}"
19 " Common strings
20 syn match blankString "\~[^}]"
22 " Numbers
23 syn match blankNumber "\[[0-9]\+\]"
25 syn case match
27 " Define the default highlighting.
28 " For version 5.7 and earlier: only when not done already
29 " For version 5.8 and later: only when an item doesn't have highlighting yet
30 if version >= 508 || !exists("did_blank_syntax_inits")
31   if version < 508
32     let did_blank_syntax_inits = 1
33     command -nargs=+ HiLink hi link <args>
34   else
35     command -nargs=+ HiLink hi def link <args>
36   endif
38   HiLink blankInstruction      Statement
39   HiLink blankNumber           Number
40   HiLink blankString           String
42   delcommand HiLink
43 endif
45 let b:current_syntax = "blank"
46 " vim: ts=8