]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Improve :help :catch command specification
authorDoug Kearns <dougkearns@gmail.com>
Sun, 30 Nov 2025 09:23:16 +0000 (09:23 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 30 Nov 2025 09:23:16 +0000 (09:23 +0000)
The pattern argument is optional.  See :help :sort for another example.

closes: #18834

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/eval.txt

index 8121ad2fe0cc42b39713c775cc7aabe06f62ca6d..0acd2e24b91a6d84c277ba4b107eeb0b6d6b2645 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*     For Vim version 9.1.  Last change: 2025 Nov 09
+*eval.txt*     For Vim version 9.1.  Last change: 2025 Nov 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -3698,7 +3698,7 @@ text...
 
                                        *:cat* *:catch*
                                        *E603* *E604* *E605* *E654* *E1033*
-:cat[ch] /{pattern}/   The following commands until the next `:catch`,
+:cat[ch] [/{pattern}/] The following commands until the next `:catch`,
                        `:finally`, or `:endtry` that belongs to the same
                        `:try` as the `:catch` are executed when an exception
                        matching {pattern} is being thrown and has not yet