diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-01-20 14:34:24 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-01-20 14:34:24 +0800 |
commit | aa4eadd2bee7d389edc6284078bb43c700de5b0f (patch) | |
tree | 6cf4bdb05214e705166cfa1da257137703fe8ce6 /runtime | |
parent | 431915fe6af4e176a84a60c95ad7aa9d36b71e50 (diff) | |
download | rneovim-aa4eadd2bee7d389edc6284078bb43c700de5b0f.tar.gz rneovim-aa4eadd2bee7d389edc6284078bb43c700de5b0f.tar.bz2 rneovim-aa4eadd2bee7d389edc6284078bb43c700de5b0f.zip |
vim-patch:8.2.0128: cannot list options one per line
Problem: Cannot list options one per line.
Solution: Use ":set!" to list one option per line.
https://github.com/vim/vim/commit/6b915c0c0ee7ef82f8d3d310a4345e098cb929b0
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 06236741c2..dbd012ff9a 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -20,9 +20,13 @@ achieve special effects. These options come in three forms: 1. Setting options *set-option* *E764* *:se* *:set* -:se[t] Show all options that differ from their default value. +:se[t][!] Show all options that differ from their default value. + When [!] is present every option is on a separate + line. -:se[t] all Show all options. +:se[t][!] all Show all options. + When [!] is present every option is on a separate + line. *E518* *E519* :se[t] {option}? Show value of {option}. @@ -235,7 +239,7 @@ happens when the buffer is not loaded, but they are lost when the buffer is wiped out |:bwipe|. *:setl* *:setlocal* -:setl[ocal] ... Like ":set" but set only the value local to the +:setl[ocal][!] ... Like ":set" but set only the value local to the current buffer or window. Not all options have a local value. If the option does not have a local value the global value is set. @@ -257,7 +261,7 @@ wiped out |:bwipe|. {option}, so that the global value will be used. *:setg* *:setglobal* -:setg[lobal] ... Like ":set" but set only the global value for a local +:setg[lobal][!] ... Like ":set" but set only the global value for a local option without changing the local value. When displaying an option, the global value is shown. With the "all" argument: display global values for all |