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 /src/nvim/eval.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 'src/nvim/eval.lua')
| -rw-r--r-- | src/nvim/eval.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index febd022254..96dc32259f 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -8746,6 +8746,7 @@ M.funcs = { 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 @@ -12856,7 +12857,9 @@ M.funcs = { # 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 |