diff options
author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2024-03-12 23:05:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 23:05:09 +0000 |
commit | 9f59415243adcf70c02bc056ed755859456b20e8 (patch) | |
tree | 638f689b5225eb4e63c30b2cf15fb549e0780183 /runtime/lua/vim/_meta/vimfn.lua | |
parent | dc7ccd6bca81dfa6ade6462a6e30770c63d48266 (diff) | |
parent | c048beef6c034a46e324fcea7210082d48db32ee (diff) | |
download | rneovim-9f59415243adcf70c02bc056ed755859456b20e8.tar.gz rneovim-9f59415243adcf70c02bc056ed755859456b20e8.tar.bz2 rneovim-9f59415243adcf70c02bc056ed755859456b20e8.zip |
Merge pull request #27839 from seandewar/vim-9.1.0169
vim-patch:9.1.{0169,0170,0171,9a660d2883f9}
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index ee68f669f8..2b93ea7d4e 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -7259,6 +7259,7 @@ function vim.fn.screenstring(row, col) end --- When a match has been found its line number is returned. --- If there is no match a 0 is returned and the cursor doesn't --- move. No error message is given. +--- To get the matched string, use |matchbufline()|. --- --- {flags} is a String, which can contain these character flags: --- 'b' search Backward instead of forward @@ -10724,7 +10725,9 @@ function vim.fn.winline() end --- # the number of the last accessed window (where --- |CTRL-W_p| goes to). If there is no previous --- window or it is in another tab page 0 is ---- returned. +--- returned. May refer to the current window in +--- some cases (e.g. when evaluating 'statusline' +--- expressions). --- {N}j the number of the Nth window below the --- current window (where |CTRL-W_j| goes to). --- {N}k the number of the Nth window above the current |