0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
vim/runtime
Christian Brabandt b4eb3f1e44
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>
2024-02-29 17:28:07 +01:00
..
2007-05-06 17:22:46 +00:00
2022-07-01 18:45:04 +01:00
2004-06-13 20:20:40 +00:00
2022-06-25 18:01:32 +01:00
2004-06-13 20:20:40 +00:00
2006-05-03 21:26:49 +00:00
2004-06-13 20:20:40 +00:00
2004-06-13 20:20:40 +00:00
2004-06-13 20:20:40 +00:00
2004-06-13 20:20:40 +00:00
2004-06-13 20:20:40 +00:00
2022-06-25 18:01:32 +01:00
2004-06-13 14:44:53 +00:00
2013-11-03 21:14:31 +01:00
2004-06-13 20:20:40 +00:00