Skip to content

Commit 3f34180

Browse files
1 parent 8abe439 commit 3f34180

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

filetype.html

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
helpname: 'filetype'
44
---
55
<div id='vimCodeElement'>
6-
<a class="Constant" href="filetype.html" name="filetype.txt">filetype.txt</a>&nbsp;&nbsp;For&nbsp;<span class="Identifier">Vim バージョン 9.1.</span>&nbsp;&nbsp;Last change: 2025 Apr 27<br>
6+
<a class="Constant" href="filetype.html" name="filetype.txt">filetype.txt</a>&nbsp;&nbsp;For&nbsp;<span class="Identifier">Vim バージョン 9.1.</span>&nbsp;&nbsp;Last change: 2025 May 10<br>
77
<br>
88
<br>
99
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Identifier">VIMリファレンスマニュアル&nbsp;&nbsp;&nbsp;&nbsp;by Bram Moolenaar</span><br>
@@ -698,6 +698,32 @@
698698
このプラグインのテキストはかなり長いため、別ファイル&nbsp;<a class="Identifier" href="ft_hare.html">ft_hare.txt</a>&nbsp;に配置され<br>
699699
ている:&nbsp;<a class="Identifier" href="ft_hare.html">ft_hare.txt</a><br>
700700
<br>
701+
<span class="Statement">HTML&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a class="Constant" href="filetype.html#ft-html-plugin" name="ft-html-plugin">ft-html-plugin</a><br>
702+
<br>
703+
タグの折り畳みにはいくつかの難しさがある。多くの要素、例えば&nbsp;<span class="Comment">blockquote</span>&nbsp;は常<br>
704+
に開始タグと終了タグで区切られる。一方、一部の要素、例えば&nbsp;<a class="Comment" href="change.html#p">p</a>&nbsp;の終了タグは、<br>
705+
特定のコンテキストでは省略可能である。一方、空要素、例えば&nbsp;<span class="Comment">hr</span>&nbsp;には終了タグが<br>
706+
ない。省略可能な終了タグをサポートするためのルールはアドホックで複雑だが [0]、<br>
707+
スコープ内の要素に適用される。構文的に整形式性があると仮定すると、終了タグはス<br>
708+
コープ内 [1] およびファイルの先頭付近で発見可能な最も近い開始タグと関連付ける<br>
709+
ことができる。一方、不均衡なタグやインラインタグはすべて無視できる。構文ハイラ<br>
710+
イトが有効になっている場合、<a class="Identifier" href="fold.html#fold-expr">fold-expr</a>&nbsp;メソッドを用いたタグの折り畳みは以下で<br>
711+
有効にできる:<br>
712+
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let g:html_expr_folding = 1</div>
713+
<br>
714+
デフォルトでは、<a class="Identifier" href="autocmd.html#TextChanged">TextChanged</a>&nbsp;または&nbsp;<a class="Identifier" href="autocmd.html#InsertLeave">InsertLeave</a>&nbsp;イベントが発生するたびに、<br>
715+
タグの折り畳みが最初からやり直される。特に大きなファイルの場合、このような頻度<br>
716+
は望ましくない場合がある。この再計算は以下で無効にできる:<br>
717+
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let g:html_expr_folding_without_recomputation = 1<br>
718+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;doautocmd FileType</div>
719+
<br>
720+
再計算を強制するには、以下のようにする:<br>
721+
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unlet! b:foldsmap<br>
722+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;normal zx</div>
723+
<br>
724+
[0]&nbsp;<span class="Constant"><a href="https://html.spec.whatwg.org/multipage/syntax.html#optional-tags">https://html.spec.whatwg.org/multipage/syntax.html#optional-tags</a></span><br>
725+
[1]&nbsp;<span class="Constant"><a href="https://en.wikipedia.org/wiki/Dangling_else">https://en.wikipedia.org/wiki/Dangling_else</a></span><br>
726+
<br>
701727
<span class="Statement">IDRIS2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a class="Constant" href="filetype.html#ft-idris2-plugin" name="ft-idris2-plugin">ft-idris2-plugin</a><br>
702728
<br>
703729
デフォルトでは、以下のオプションが設定されている:<br>

tags.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7766,6 +7766,7 @@
77667766
<a class="Identifier" href="helphelp.html#ft-help-omni">ft-help-omni</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;helphelp.jax<br>
77677767
<a class="Identifier" href="indent.html#ft-html-indent">ft-html-indent</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;indent.jax<br>
77687768
<a class="Identifier" href="insert.html#ft-html-omni">ft-html-omni</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insert.jax<br>
7769+
<a class="Identifier" href="filetype.html#ft-html-plugin">ft-html-plugin</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filetype.jax<br>
77697770
<a class="Identifier" href="syntax.html#ft-html-syntax">ft-html-syntax</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;syntax.jax<br>
77707771
<a class="Identifier" href="syntax.html#ft-htmlos-syntax">ft-htmlos-syntax</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;syntax.jax<br>
77717772
<a class="Identifier" href="syntax.html#ft-ia64-syntax">ft-ia64-syntax</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;syntax.jax<br>

0 commit comments

Comments
 (0)