runtime(doc): clarify how ex ranges are adjusted when acting on folds
closes: #17696 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 9.1. Last change: 2024 Oct 16
|
||||
*repeat.txt* For Vim version 9.1. Last change: 2025 Jul 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -233,7 +233,12 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
||||
Examples: >
|
||||
:4,5source
|
||||
:10,18source ++clear
|
||||
<
|
||||
|
||||
< Implementation detail: When sourcing a [range] of
|
||||
lines that falls inside a folded region, the range
|
||||
will be adjusted to the start and end of the fold,
|
||||
but only if a two-address range was used.
|
||||
|
||||
*:source!*
|
||||
:so[urce]! {file} Read Vim commands from {file}. These are commands
|
||||
that are executed from Normal mode, like you type
|
||||
|
||||
Reference in New Issue
Block a user