aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2015-07-06 02:26:44 +0300
committerZyX <kp-pav@yandex.ru>2015-10-08 22:00:07 +0300
commit8663983cc4c2f66eb0ba58ad8e247ac0686cc79b (patch)
treeef304ae2b4ccad0f4dac03de8d877290b2943538 /src/nvim/option.c
parent9cf9c4a5860212cc0f9b71d349849811fdaf61a1 (diff)
downloadrneovim-8663983cc4c2f66eb0ba58ad8e247ac0686cc79b.tar.gz
rneovim-8663983cc4c2f66eb0ba58ad8e247ac0686cc79b.tar.bz2
rneovim-8663983cc4c2f66eb0ba58ad8e247ac0686cc79b.zip
Deprecate &viminfo and :[rw]v, add &shada and :[rw]sh
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 87bae0179c..3f90293e19 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -1738,7 +1738,7 @@ set_options_bin (
/*
* Find the parameter represented by the given character (eg ', :, ", or /),
- * and return its associated value in the 'viminfo' string.
+ * and return its associated value in the 'shada' string.
* Only works for number parameters, not for 'r' or 'n'.
* If the parameter is not specified in the string or there is no following
* number, return -1.
@@ -1755,7 +1755,7 @@ int get_shada_parameter(int type)
/*
* Find the parameter represented by the given character (eg ''', ':', '"', or
- * '/') in the 'viminfo' option and return a pointer to the string after it.
+ * '/') in the 'shada' option and return a pointer to the string after it.
* Return NULL if the parameter is not specified in the string.
*/
char_u *find_shada_parameter(int type)
@@ -2442,7 +2442,7 @@ did_set_string_option (
if (*p_vfile != NUL && verbose_open() == FAIL)
errmsg = e_invarg;
}
- /* 'viminfo' */
+ /* 'shada' */
else if (varp == &p_shada) {
for (s = p_shada; *s; ) {
/* Check it's a valid character */