]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): 'cpoptions': Include "z" in the documented default
authorIllia Bobyr <illia.bobyr@gmail.com>
Tue, 16 Jul 2024 18:10:16 +0000 (20:10 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Jul 2024 18:19:13 +0000 (20:19 +0200)
A fixup for commit 22105fd1fe0dcfe993b5c04 (tag: v9.1.0589)

While at it, document the correct Vi defaults and $VIM_POSIX (even more
compatible) flags.

closes: #15274

Signed-off-by: Illia Bobyr <illia.bobyr@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt

index b211dcb8f78bd769fe925408b9b5ad9982c186a6..30214014d75f66ad94cadef5cddbbebd82701818 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 9.1.  Last change: 2024 Jul 15
+*options.txt*  For Vim version 9.1.  Last change: 2024 Jul 16
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2257,8 +2257,9 @@ A jump table for the options with a short description can be found at |Q_op|.
        Also see 'preserveindent'.
 
                                                *'cpoptions'* *'cpo'* *cpo*
-'cpoptions' 'cpo'      string  (Vim default: "aABceFs",
-                                Vi default:  all flags)
+'cpoptions' 'cpo'      string  (Vim default: "aABceFsz",
+                                Vi default:  all flags, except "#{|&/\."
+                                 |$VIM_POSIX|:  all flags)
                        global
        A sequence of single character flags.  When a character is present
        this indicates Vi-compatible behavior.  This is used for things where