Commit: runtime(docs): update `:set?` command behavior table

4 views
Skip to first unread message

Christian Brabandt

unread,
Sep 26, 2024, 10:00:20 AM9/26/24
to vim...@googlegroups.com
runtime(docs): update `:set?` command behavior table

Commit: https://github.com/vim/vim/commit/d9af78b9450362847b344f8dc0f68d015b428d03
Author: Milly <mill...@gmail.com>
Date: Thu Sep 26 15:54:43 2024 +0200

runtime(docs): update `:set?` command behavior table

closes: https://github.com/vim/vim/issues/15746

Signed-off-by: Milly <mill...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 26779ad8e..94671d17c 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2024 Sep 10
+*options.txt* For Vim version 9.1. Last change: 2024 Sep 26


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -396,13 +396,14 @@ between string and number-based options.
options which are different from the default.

For buffer-local and window-local options:
- Command global value local value ~
- :set option=value set set
- :setlocal option=value - set
-:setglobal option=value set -
- :set option? - display
- :setlocal option? - display
-:setglobal option? display -
+ Command global value local value condition ~
+ :set option=value set set
+ :setlocal option=value - set
+:setglobal option=value set -
+ :set option? - display local value is set
+ :set option? display - local value is not set
+ :setlocal option? - display
+:setglobal option? display -


Global options with a local value *global-local*
Reply all
Reply to author
Forward
0 new messages