aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-11-12 00:05:26 -0800
committerGitHub <noreply@github.com>2019-11-12 00:05:26 -0800
commitdb436d5277a605606ac92cfabe9e58d86f48f64e (patch)
tree944f02de6bfa974248700f4da1c881638fbde243 /src/nvim/ex_cmds.c
parent0190de9aab53c0b82e648c51c5162d6377c6f341 (diff)
parenta24eff0e2762657b4a82b2a7e78b4246f6462f95 (diff)
downloadrneovim-db436d5277a605606ac92cfabe9e58d86f48f64e.tar.gz
rneovim-db436d5277a605606ac92cfabe9e58d86f48f64e.tar.bz2
rneovim-db436d5277a605606ac92cfabe9e58d86f48f64e.zip
Merge #11376 'extmark: renames, docs'
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
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();
}