aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-07-04 19:22:04 +0200
committerJustin M. Keyes <justinkz@gmail.com>2023-07-08 15:06:36 +0200
commit00d2f4b96eb9c8dcb6b9f67e256bb7faa19354db (patch)
treee3a07530c76cedf34435ce11df117a7e33a03a7d /runtime/doc/api.txt
parent8c9e37cc09f5b79a981c574ab8bcfb0b9ed58ca8 (diff)
downloadrneovim-00d2f4b96eb9c8dcb6b9f67e256bb7faa19354db.tar.gz
rneovim-00d2f4b96eb9c8dcb6b9f67e256bb7faa19354db.tar.bz2
rneovim-00d2f4b96eb9c8dcb6b9f67e256bb7faa19354db.zip
docs: MAINTAIN.md, nvim_get_mark
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 46c5f2ea18..c0e6dbc015 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -987,13 +987,14 @@ nvim_get_keymap({mode}) *nvim_get_keymap()*
"buffer" key is always zero.
nvim_get_mark({name}, {opts}) *nvim_get_mark()*
- Return a tuple (row, col, buffer, buffername) representing the position of
- the uppercase/file named mark. See |mark-motions|.
+ Returns a `(row, col, buffer, buffername)` tuple representing the position
+ of the uppercase/file named mark. "End of line" column position is
+ returned as |v:maxcol| (big number). See |mark-motions|.
Marks are (1,0)-indexed. |api-indexing|
Note:
- fails with error if a lowercase or buffer local named mark is used.
+ Lowercase name (or other buffer-local mark) is an error.
Parameters: ~
• {name} Mark name
@@ -2232,7 +2233,8 @@ nvim_buf_get_lines({buffer}, {start}, {end}, {strict_indexing})
Array of lines, or empty array for unloaded buffer.
nvim_buf_get_mark({buffer}, {name}) *nvim_buf_get_mark()*
- Returns a tuple (row,col) representing the position of the named mark. See
+ Returns a `(row,col)` tuple representing the position of the named mark.
+ "End of line" column position is returned as |v:maxcol| (big number). See
|mark-motions|.
Marks are (1,0)-indexed. |api-indexing|