Mercurial > vim
changeset 30785:02b5d6f20db2 v9.0.0727
patch 9.0.0727: help in the repository differs from patched version too much
Commit: https://github.com/vim/vim/commit/7c6cd443757348aa987eed87506549ab6b2079fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 11 21:54:04 2022 +0100
patch 9.0.0727: help in the repository differs from patched version too much
Problem: Help in the repository differs from patched version too much.
Solution: Make a patch for a few help files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 11 Oct 2022 23:00:05 +0200 |
parents | 7e752660614b |
children | f0329c37cd95 |
files | runtime/doc/builtin.txt runtime/doc/eval.txt runtime/doc/vim9.txt src/version.c |
diffstat | 4 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.0. Last change: 2022 Sep 30 +*builtin.txt* For Vim version 9.0. Last change: 2022 Oct 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1882,10 +1882,10 @@ cursor({list}) |setcursorcharpos()|. Does not change the jumplist. - {lnum} is used like with |getline()|. + {lnum} is used like with |getline()|, except that if {lnum} is + zero, the cursor will stay in the current line. If {lnum} is greater than the number of lines in the buffer, the cursor will be positioned at the last line in the buffer. - If {lnum} is zero, the cursor will stay in the current line. If {col} is greater than the number of bytes in the line, the cursor will be positioned at the last character in the line.
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.0. Last change: 2022 Sep 17 +*eval.txt* For Vim version 9.0. Last change: 2022 Oct 07 VIM REFERENCE MANUAL by Bram Moolenaar
--- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 9.0. Last change: 2022 Oct 03 +*vim9.txt* For Vim version 9.0. Last change: 2022 Oct 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -962,6 +962,8 @@ In compiled Vim9 script you get: 3 Generally, you should not change the list that is iterated over. Make a copy first if needed. +When looping over a list of lists, the nested lists can be changed. The loop +variable is "final", it cannot be changed but what its value can be changed. *E1306* The depth of loops, :for and :while loops added together, cannot exceed 10.