diff options
| author | Anton Bobov <abobov@gmail.com> | 2013-10-03 09:48:51 +0600 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2013-10-03 09:53:41 +0600 |
| commit | a909de07c5f982968cb8cd0f2101ac052f4a0034 (patch) | |
| tree | 99111641ac662d8b437d885befe50ff1a3f3dbf9 /files/.vim/syntax/rfc.vim | |
| parent | ede4983c110a5947fa034857a5e37bdbb03ab49a (diff) | |
Vim plugins cleaning up.
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" |
