diff options
author | Christian Brabandt <cb@256bit.org> | 2024-02-29 17:23:51 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-02-29 17:28:07 +0100 |
commit | b4eb3f1e44896b12fdfa3885a78c6eaa181eaeff (patch) | |
tree | c24d7395e257c8afd453d55e65b0e15453426036 /runtime/doc/tags | |
parent | 55f8bba73be5f9c3a5a4d0d6c5f56e65f2c7d3fc (diff) |
runtime(yaml): disable multiline_scalar detection by default
There have been many complaints about Yaml indenting too much, because
it considers values to be multi-line by default, which leads to
unintended indenting for (apparently most) users.
So let's hide this feature behind the new feature flag, keep it
simple and prefer single line value key pairs by default.
If you want the old behaviour, set the following value: >
:let g:yaml_indent_multiline_scalar = 1
If not set, it will indent the same as the previous line.
closes #13845
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/tags')
-rw-r--r-- | runtime/doc/tags | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/tags b/runtime/doc/tags index fb0b540535..8af0b573a5 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -7364,6 +7364,7 @@ ft-xhtml-omni insert.txt /*ft-xhtml-omni* ft-xml-omni insert.txt /*ft-xml-omni* ft-xml-syntax syntax.txt /*ft-xml-syntax* ft-xpm-syntax syntax.txt /*ft-xpm-syntax* +ft-yaml-indent indent.txt /*ft-yaml-indent* ft-yaml-syntax syntax.txt /*ft-yaml-syntax* ft-zimbu-plugin filetype.txt /*ft-zimbu-plugin* ft-zsh-syntax syntax.txt /*ft-zsh-syntax* |