aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-11-10 16:52:14 -0800
committerJustin M. Keyes <justinkz@gmail.com>2019-11-11 22:12:59 -0800
commit54473e9a677b001b47b1fe528b6056e9feed0f60 (patch)
tree7a7f9dec829d68ac19ffb35cb46662c6025c468e /src
parent0190de9aab53c0b82e648c51c5162d6377c6f341 (diff)
downloadrneovim-54473e9a677b001b47b1fe528b6056e9feed0f60.tar.gz
rneovim-54473e9a677b001b47b1fe528b6056e9feed0f60.tar.bz2
rneovim-54473e9a677b001b47b1fe528b6056e9feed0f60.zip
doc [ci skip]
Diffstat (limited to 'src')
-rw-r--r--src/nvim/api/buffer.c2
-rw-r--r--src/nvim/ex_cmds.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 5909fd7c02..58011702ac 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -1058,7 +1058,7 @@ ArrayOf(Integer) nvim_buf_get_extmark_by_id(Buffer buffer, Integer ns_id,
/// @param opts additional options. Supports the keys:
/// - amount: Maximum number of marks to return
/// @param[out] err Details of an error that may have occurred
-/// @return [[nsmark_id, row, col], ...]
+/// @return [[extmark_id, row, col], ...]
Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id,
Object start, Object end, Dictionary opts,
Error *err)
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index c5f7815fc5..4725246764 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -3457,9 +3457,9 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout,
linenr_T newline_in_pat = 0;
linenr_T newline_in_sub = 0;
- // inccomand tests fail without this check
+ // inccommand tests fail without this check
if (!preview) {
- // Requried for Undo to work for nsmarks,
+ // Required for Undo to work for extmarks.
u_save_cursor();
}