Mercurial > vim
diff runtime/doc/builtin.txt @ 32590:635de73eeb4c
Update runtime files
Commit: https://github.com/vim/vim/commit/10e8ff9b26078994cae57c2422b145d37aaf714e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 10 21:40:39 2023 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Jun 2023 22:45:05 +0200 |
parents | 5d8cff99a027 |
children | a699363f01cd |
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: 2023 May 12 +*builtin.txt* For Vim version 9.0. Last change: 2023 Jun 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1594,7 +1594,7 @@ clearmatches([{win}]) *clearmatches( Can also be used as a |method|: > GetWin()->clearmatches() < -col({expr} [, {winid}) *col()* +col({expr} [, {winid}]) *col()* The result is a Number, which is the byte index of the column position given with {expr}. The accepted positions are: . the cursor position @@ -1657,7 +1657,7 @@ complete({startcol}, {matches}) *compl Example: > inoremap <F5> <C-R>=ListMonths()<CR> - func! ListMonths() + func ListMonths() call complete(col('.'), ['January', 'February', 'March', \ 'April', 'May', 'June', 'July', 'August', 'September', \ 'October', 'November', 'December']) @@ -1922,7 +1922,7 @@ cursor({list}) This is like the return value of |getpos()| or |getcurpos()|, but without the first item. - To position the cursor using the character count, use + To position the cursor using {col} as the character count, use |setcursorcharpos()|. Does not change the jumplist.