vim72-20100325-kaoriya-w64j.zip
[MacVim/KaoriYa.git] / runtime / syntax / memo.vim
blob192af5dc4ee3162edd24b3dae6ad7e9c71479654
1 " vim:ts=8 sts=2 sw=2 tw=0 nowrap:
3 " memo.vim - ƒ�ƒ‚—pƒVƒ“ƒ^ƒbƒNƒX’è‹`
5 " Language:     memo
6 " Maintainer:   MURAOKA Taro <koron@tka.att.ne.jp>
7 " Last Change:  06-Feb-2006.
9 scriptencoding cp932
11 syntax match memoLabel display "^\%>1l\k\+\>"
12 syntax match memoLabelUpper display "^[A-Z]\+\>\(\s\|\d\|$\)"
13 syntax match memoLabelDate display "^\d\+-\k\+-\d\+\(\.\)\="
14 syntax match memoLabelSquare display "^\s*[�¡� �Ÿ�ž]"hs=e-1
15 syntax match memoLabelRound display "^\s*[�›�œ���Z]"hs=e-1
16 syntax match memoLabelParenthesis display "\(^\s*\)\@<=([^)]*)"
17 syntax match memoLabelWarning display "’�ˆÓ:"
18 "syntax match memoLabelNote display "•â‘«:"he=e-1
20 syntax match memoTitle display "\%1l.*"
21 syntax match memoDate display "\<\([012]\d\|3[01]\)-\k\+-\d\+\(\.\)\="
22 syntax match memoUrl display "\(http\|ftp\):[-!#%&+,./0-9:;=?@A-Za-z_~]\+"
24 syntax match memoListItem display "^\s*[-+*]\s\+\S.*$"
25 syntax match memoListOrderedItem display "^\s*\d\+[.):]\s\+\S.*$"
27 syntax match memoComment display '^\s*#\s\+\S.*$'
28 syntax match memoCommentTitle display '^\s*\u\a*\(\s\+\u\a*\)*:'
29 syntax match memoCommentVim display '^\s*vi\(m\)\=:[^:]*:'
32 hi def link memoLabel                   Statement
33 hi def link memoLabelUpper              Todo
34 hi def link memoLabelDate               Todo
35 hi def link memoLabelSquare             Comment
36 hi def link memoLabelRound              WarningMsg
37 hi def link memoLabelWarning            Error
38 hi def link memoLabelParenthesis        Special
40 hi def link memoTitle                   Title
41 hi def link memoDate                    Constant
42 hi def link memoUrl                     Underlined
44 hi def link memoListItem                Identifier
45 hi def link memoListOrderedItem         Identifier
47 hi def link memoComment                 Comment
48 hi def link memoCommentTitle            PreProc
49 hi def link memoCommentVim              PreProc
51 let b:current_syntax = "memo"