From 49f731d2431b2422b97f1e756c120453ce1ca984 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 30 Nov 2025 09:23:16 +0000 Subject: [PATCH] runtime(doc): Improve :help :catch command specification The pattern argument is optional. See :help :sort for another example. closes: #18834 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- runtime/doc/eval.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 8121ad2fe0..0acd2e24b9 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -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 -- 2.47.3