diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-20 15:20:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 15:20:42 -0500 |
commit | b1711e6f922598f00c4d2c879094afdbba44c187 (patch) | |
tree | da82e73ae568899dcd9c5ca1eb74ce09671e9fef /runtime | |
parent | abcbc5a9f346f98591f27eb73bc1c63787779368 (diff) | |
download | rneovim-b1711e6f922598f00c4d2c879094afdbba44c187.tar.gz rneovim-b1711e6f922598f00c4d2c879094afdbba44c187.tar.bz2 rneovim-b1711e6f922598f00c4d2c879094afdbba44c187.zip |
foldcolumn: support "auto" (#13571)
"set foldcolumn=auto" is documented but not supported.
Support it by making it behave as "auto:1", similar to "signcolumn".
Close https://github.com/neovim/neovim/pull/13561
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 6c42dd6739..e740a45bec 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2438,7 +2438,7 @@ A jump table for the options with a short description can be found at |Q_op|. 'foldcolumn' 'fdc' string (default "0") local to window When and how to draw the foldcolumn. Valid values are: - "auto": resize to the maximum amount of folds to display. + "auto": resize to the minimum amount of folds to display. "auto:[1-9]": resize to accommodate multiple folds up to the selected level 0: to disable foldcolumn |