Skip to content

Commit 1787bd9

Browse files
authored
Merge pull request #1448 from mityu/update-indent
Update indent.{txt,jax}
2 parents 28299e6 + 1a99350 commit 1787bd9

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

doc/indent.jax

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim バージョン 9.1. Last change: 2023 Dec 27
1+
*indent.txt* For Vim バージョン 9.1. Last change: 2024 Feb 29
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1232,5 +1232,11 @@ Vim script のインデントは `g:vim_indent` 辞書変数で設定できる
12321232
この変数は `g:vim_indent.line_continuation` と等価である。
12331233
後方互換性のためにサポートされている。
12341234

1235+
YAML *ft-yaml-indent*
1236+
1237+
デフォルトでは、yaml のインデントスクリプトは複数行のスカラーの検出を行おうと
1238+
しない。もしこれを有効化したい場合は、以下の変数を設定すること: >
1239+
1240+
let g:yaml_indent_multiline_scalar = 1
12351241
12361242
vim:tw=78:ts=8:noet:ft=help:norl:

en/indent.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*indent.txt* For Vim version 9.1. Last change: 2023 Dec 27
1+
*indent.txt* For Vim version 9.1. Last change: 2024 Feb 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1255,5 +1255,11 @@ Example of configuration: >
12551255
This variable is equivalent to `g:vim_indent.line_continuation`.
12561256
It's supported for backward compatibility.
12571257

1258+
YAML *ft-yaml-indent*
1259+
1260+
By default, the yaml indent script does not try to detect multiline scalars.
1261+
If you want to enable this, set the following variable: >
1262+
1263+
let g:yaml_indent_multiline_scalar = 1
12581264
12591265
vim:tw=78:ts=8:noet:ft=help:norl:

0 commit comments

Comments
 (0)