diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-06-07 18:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 18:31:50 +0200 |
commit | db68d1d638e4986f7557877ea511e11990b5f4a3 (patch) | |
tree | 4612f98ae4d699ba61fae6cbcad5f71b3e884a18 /runtime | |
parent | 3abf17ae88e3048c20b1645b9d78b69566e89872 (diff) | |
parent | e0d39d8e5330407be19575a6f57dde436a036df0 (diff) | |
download | rneovim-db68d1d638e4986f7557877ea511e11990b5f4a3.tar.gz rneovim-db68d1d638e4986f7557877ea511e11990b5f4a3.tar.bz2 rneovim-db68d1d638e4986f7557877ea511e11990b5f4a3.zip |
Merge #8491 from janlazo/vim-8.0.0255
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index fffdcef8d9..f404192abb 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -6789,10 +6789,12 @@ setpos({expr}, {list}) [bufnum, lnum, col, off, curswant] "bufnum" is the buffer number. Zero can be used for the - current buffer. Setting the cursor is only possible for - the current buffer. To set a mark in another buffer you can - use the |bufnr()| function to turn a file name into a buffer - number. + current buffer. When setting an uppercase mark "bufnum" is + used for the mark position. For other marks it specifies the + buffer to set the mark in. You can use the |bufnr()| function + to turn a file name into a buffer number. + For setting the cursor and the ' mark "bufnum" is ignored, + since these are associated with a window, not a buffer. Does not change the jumplist. "lnum" and "col" are the position in the buffer. The first |