diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-26 21:25:27 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 09:21:34 -0400 |
commit | 4819737853fc3676b976be93bd0332a3e44ab837 (patch) | |
tree | 92b0217b2310433060a61ff6226ca2d225f49c7b /runtime/doc | |
parent | e8178093dc41204d9f88e81095b12c5867b0fe54 (diff) | |
download | rneovim-4819737853fc3676b976be93bd0332a3e44ab837.tar.gz rneovim-4819737853fc3676b976be93bd0332a3e44ab837.tar.bz2 rneovim-4819737853fc3676b976be93bd0332a3e44ab837.zip |
vim-patch:560979ed4f02
Update runtime files.
https://github.com/vim/vim/commit/560979ed4f0216f902a2c247e937f00a27dcb198
Omit vim9.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 3 | ||||
-rw-r--r-- | runtime/doc/tagsrch.txt | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 05a2ff16a5..8baaef54b3 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4887,7 +4887,7 @@ getwininfo([{winid}]) *getwininfo()* winrow topmost screen column of the window getwinpos([{timeout}]) *getwinpos()* - The result is a list with two numbers, the result of + The result is a List with two numbers, the result of |getwinposx()| and |getwinposy()| combined: [x-pos, y-pos] {timeout} can be used to specify how long to wait in msec for @@ -9178,6 +9178,7 @@ winline() The result is a Number, which is the screen line of the cursor *winnr()* winnr([{arg}]) The result is a Number, which is the number of the current window. The top window has number 1. + Returns zero for a popup window. The optional argument {arg} supports the following values: $ the number of the last window (the window diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index 8142249ac9..240765fa2d 100644 --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -893,8 +893,8 @@ The following is a hypothetical example of a function used for 'tagfunc'. It uses the output of |taglist()| to generate the result: a list of tags in the inverse order of file names. > - function! TagFunc(pattern, flags, info) - function! CompareFilenames(item1, item2) + function TagFunc(pattern, flags, info) + function CompareFilenames(item1, item2) let f1 = a:item1['filename'] let f2 = a:item2['filename'] return f1 >=# f2 ? |