diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-07-18 23:26:56 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-07-18 23:26:56 +0900 |
| commit | 33aafecc7e9e3224e0283fe8be098ede39f48f61 (patch) | |
| tree | 8e3241dc4d09c55e891933c7aeeaebefa8c7004a /Util | |
| parent | 53820: detect integer overflow when parsing history word designators. (diff) | |
| download | zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.gz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.bz2 zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.lz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.xz zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.tar.zst zsh-33aafecc7e9e3224e0283fe8be098ede39f48f61.zip | |
53821: add missing manpage name in cross reference
and many small improvements. See comments in zman.yo for the usage
of new yodl macros for cross reference.
Diffstat (limited to 'Util')
| -rw-r--r-- | Util/zyodl.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Util/zyodl.vim b/Util/zyodl.vim index 7579365ac..54d7c1892 100644 --- a/Util/zyodl.vim +++ b/Util/zyodl.vim @@ -58,7 +58,7 @@ syn match zyodlNumber "\d\+" syn region zyodlItem start="\<xitem(" end=")" contains=zyodlSpecial,@zyodlInline syn region zyodlItem start="\<item(" end=")" contains=zyodlSpecial,@zyodlInline syn region zyodlExample start="\<example(" end=")" contains=zyodlSpecial,zyodlParenthetical -syn region zyodlComment start="\<COMMENT(" end=")" contains=zyodlSpecial,@zyodlInline,zyodlParenthetical +syn region zyodlComment start="\<COMMENT(" end=")" contains=zyodlSpecial,@zyodlInline,zyodlParenthetical,zyodlRef " comment that gets output in generated texinfo/roff source syn region zyodlComment start="\<comment(" end=")" syn region zyodlTitle start="\<\(chapter\|subsect\|sect\)(" end=")" contains=zyodlSpecial,@zyodlInline,zyodlParenthetical @@ -67,7 +67,8 @@ syn region zyodlParenthetical start="\w\@<!(" end=")" transparent contained cont " zyodlCond doesn't contain zyodlParenthetical, since section names (probably) don't have parentheticals. syn region zyodlCond start="\<\(ifzman\|ifnzman\)(" end=")" contains=zyodlRef,zyodlSpecial,@zyodlInline -syn region zyodlRef start="\<\(zmanref\|noderef\)(" end=")" +syn region zyodlRef start="\<\(zmanref\|noderef\|anchor\)(" end=")" +syn match zyodlRef "\<\(nm\|sect\|sub\)ref([^)]*)([^)]*)" " zyodlSItemArg2 should use zyodlParenthetical instead of the 'skip=' syn keyword zyodlKeyword sitem nextgroup=zyodlSItemArg1 |
