From: Doug Kearns Date: Fri, 29 Aug 2025 16:19:04 +0000 (+0200) Subject: runtime(doc): Add [range] spec to :help :tcl and :help :tclfile X-Git-Tag: v9.1.1711~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d8098b117fd22130458dfa9ab8b7af0a541fd33;p=thirdparty%2Fvim.git runtime(doc): Add [range] spec to :help :tcl and :help :tclfile A range is allowed for all :tcl* commands. closes: #18154 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt index 1589178a8f..2de3bea4c6 100644 --- a/runtime/doc/if_tcl.txt +++ b/runtime/doc/if_tcl.txt @@ -1,4 +1,4 @@ -*if_tcl.txt* For Vim version 9.1. Last change: 2024 Oct 05 +*if_tcl.txt* For Vim version 9.1. Last change: 2025 Aug 29 VIM REFERENCE MANUAL by Ingo Wilken @@ -26,7 +26,7 @@ comments, ideas etc to 1. Commands *tcl-ex-commands* *E571* *E572* *:tcl* -:tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl` +:[range]tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl` is working: > :tcl puts "Hello" @@ -69,7 +69,8 @@ To see what version of Tcl you have: > See |tcl-var-line| and |tcl-var-lnum|. *:tclfile* *:tclf* -:tclf[ile] {file} Execute the Tcl script in {file}. This is the same as +:[range]tclf[ile] {file} + Execute the Tcl script in {file}. This is the same as ":tcl source {file}", but allows file name completion.