diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-09 21:34:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-09 21:34:53 +0000 |
commit | 293ee4d421cd55f4a3c014c1c26edf02f718cc83 (patch) | |
tree | ae4856e718b752ea0c6c807912bfbb51967fae80 /runtime/syntax/tpp.vim | |
parent | 741b07e0092eb6d7b81c9cbe149196c6cf9d5bbe (diff) | |
download | vim-git-293ee4d421cd55f4a3c014c1c26edf02f718cc83.tar.gz |
updated for version 7.0021v7.0021
Diffstat (limited to 'runtime/syntax/tpp.vim')
-rw-r--r-- | runtime/syntax/tpp.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/syntax/tpp.vim b/runtime/syntax/tpp.vim index 28a2c6b51..8eb748053 100644 --- a/runtime/syntax/tpp.vim +++ b/runtime/syntax/tpp.vim @@ -2,7 +2,7 @@ " Language: tpp - Text Presentation Program " Maintainer: Gerfried Fuchs <alfie@ist.org> " Filenames: *.tpp -" Last Change: 13. October 2004 +" Last Change: 28. October 2004 " URL: http://alfie.ist.org/projects/vim/syntax/tpp.vim " License: BSD " @@ -25,7 +25,7 @@ endif "" list of the legal switches/options syn match tppAbstractOptionKey contained "^--\%(author\|title\|date\) *" nextgroup=tppValue -syn match tppPageLocalOptionKey contained "^--\%(heading\|center\|right\|sleep\|huge\|exec\) *" nextgroup=tppValue +syn match tppPageLocalOptionKey contained "^--\%(heading\|center\|right\|huge\|sethugefont\|exec\) *" nextgroup=tppValue syn match tppPageLocalSwitchKey contained "^--\%(horline\|-\|\%(begin\|end\)\%(\%(shell\)\?output\|slide\%(left\|right\|top\|bottom\)\)\|\%(bold\|rev\|ul\)\%(on\|off\)\|withborder\)" syn match tppNewPageOptionKey contained "^--newpage *" nextgroup=tppValue syn match tppColorOptionKey contained "^--\%(\%(bg\|fg\)\?color\) *" @@ -39,7 +39,7 @@ syn region tppPageLocalSwitch start="^--" end="$" contains=tppPageLocalSwitchKey syn region tppColorOption start="^--\%(\%(bg\|fg\)\?color\)" end="$" contains=tppColorOptionKey,tppColor oneline syn region tppTimeOption start="^--sleep" end="$" contains=tppTimeOptionKey,tppTime oneline syn region tppNewPageOption start="^--newpage" end="$" contains=tppNewPageOptionKey oneline -syn region tppPageLocalOption start="^--\%(heading\|center\|right\|sleep\|huge\|exec\)" end="$" contains=tppPageLocalOptionKey oneline +syn region tppPageLocalOption start="^--\%(heading\|center\|right\|huge\|sethugefont\|exec\)" end="$" contains=tppPageLocalOptionKey oneline syn region tppAbstractOption start="^--\%(author\|title\|date\)" end="$" contains=tppAbstractOptionKey oneline if main_syntax != 'sh' @@ -55,6 +55,7 @@ if main_syntax != 'sh' endif +syn match tppComment "^--##.*$" " Define the default highlighting. " For version 5.7 and earlier: only when not done already @@ -76,6 +77,7 @@ if version >= 508 || !exists("did_tpp_syn_inits") HiLink tppValue String HiLink tppColor String HiLink tppTime Number + HiLink tppComment Comment HiLink tppAbstractOption Error HiLink tppPageLocalOption Error HiLink tppPageLocalSwitch Error |