aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Ennen <mike.ennen@gmail.com>2016-11-11 13:13:55 -0700
committerJames McCoy <jamessan@jamessan.com>2016-12-12 10:17:35 -0500
commit5e4eb18eb0242794c0b3a622f7acf0d3e6856c05 (patch)
treee31b25acaf30023616d4f469af5d067befd30556 /src
parent0f681c80e1e9c9060394365dae12f8ebd5736176 (diff)
downloadrneovim-5e4eb18eb0242794c0b3a622f7acf0d3e6856c05.tar.gz
rneovim-5e4eb18eb0242794c0b3a622f7acf0d3e6856c05.tar.bz2
rneovim-5e4eb18eb0242794c0b3a622f7acf0d3e6856c05.zip
Add some tests and cleanup.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c2
-rw-r--r--src/nvim/eval/encode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 043e799b4e..a205c37d6e 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -9664,7 +9664,7 @@ static void f_function(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
if (arg_idx > 0) {
if (argvars[arg_idx].v_type != VAR_LIST) {
- EMSG(_("E923: Second argument of function() must be"
+ EMSG(_("E923: Second argument of function() must be "
"a list or a dict"));
xfree(name);
return;
diff --git a/src/nvim/eval/encode.c b/src/nvim/eval/encode.c
index 51393e5337..61d7a38007 100644
--- a/src/nvim/eval/encode.c
+++ b/src/nvim/eval/encode.c
@@ -908,7 +908,7 @@ char *encode_tv2json(typval_T *tv, size_t *len)
mpstack, objname)
#define TYPVAL_ENCODE_CONV_PARTIAL(partial) \
- return conv_error(_("E951: Error while dumping %s, %s: " \
+ return conv_error(_("E5004: Error while dumping %s, %s: " \
"attempt to dump partial"), \
mpstack, objname)