Skip to content

Commit 84a7be8

Browse files
committed
help_ja.vim: support small caption ja specific rule
1 parent 64a8fdf commit 84a7be8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

syntax/help_ja.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ syn region helpTransNote start="{訳注:" end="}" contains=helpLeadBlank,helpHyp
88
syn region helpBracesInTransNote start=".{"ms=e end="}."me=s transparent contained contains=helpLeadBlank,helpHyperTextJump,helpBracesInTransNote
99
syn match helpSpecial "[。、]\zs\[[-a-z^A-Z0-9_]\{2,}]"
1010
hi def link helpTransNote Special
11+
if has("conceal")
12+
syn region helpHeadline matchgroup=helpIgnore start="^☆\(\s\)\@!" end="\ze\(\s\+\*\|$\)" keepend concealends
13+
else
14+
syn region helpHeadline matchgroup=helpIgnore start="^☆\(\s\)\@!" end="\ze\(\s\+\*\|$\)" keepend
15+
endif

0 commit comments

Comments
 (0)