diff options
| author | Anton Bobov <abobov@gmail.com> | 2013-10-10 22:55:51 +0600 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2013-10-10 22:55:51 +0600 |
| commit | 9356a267f4ff70ed2c41996a248f1ca90552bd89 (patch) | |
| tree | 81692c3e25b01cc877b6827bfb76caf79043806e /files/.vim/syntax/rfc.vim | |
| parent | 758071194a0adf8a6ec2e83130f8677d7ca7b70c (diff) | |
| parent | a909de07c5f982968cb8cd0f2101ac052f4a0034 (diff) | |
Merge branch 'master' of github.com:abobov/dotfiles
Conflicts:
.gitmodules
Diffstat (limited to 'files/.vim/syntax/rfc.vim')
| -rw-r--r-- | files/.vim/syntax/rfc.vim | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/files/.vim/syntax/rfc.vim b/files/.vim/syntax/rfc.vim deleted file mode 100644 index faa1466..0000000 --- a/files/.vim/syntax/rfc.vim +++ /dev/null @@ -1,30 +0,0 @@ -" Vim syntax file -" Filetype: RFC -" Author: lilydjwg <lilydjwg@gmail.con> -" Last Change: 2010年1月16日 - -syntax clear -syntax case match - -syn match rfcTitle /^\v(\n)@<!\S.*$/ -syn match rfcTheTitle /^\v\s{7,40}\S.*$/ -syn match rfcRFCTitle /^\v(\n)@<=RFC.*$/ -syn match rfcRFC /.\@<=RFC\s\+[0-9]\+/ -syn match rfcNumber /\[\d\+\]/ -syn match rfcComment /^\S.*\ze\n/ -syn match rfcDots /\v\.+\ze\d+$/ contained -" 允许换一次行;如果允许无限换行,会将后面的标题也高亮 -syn match rfcContents /^\v\s*\d.*(\n.*)?(\s|\.)\d+$/ contains=rfcDots -syn keyword rfcNote NOTE note: Note: NOTE: Notes Notes: MUST NOT - -hi link rfcTitle Title -hi link rfcTheTitle Type -hi link rfcRFCTitle PreProc -hi link rfcNote Todo -hi link rfcRFC Number -hi link rfcComment Comment -hi link rfcNumber Number -hi link rfcDots Comment -hi link rfcContents Tag - -let b:current_syntax = "rfc" |
