summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-28 20:46:29 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-28 20:46:29 +0100
commitfcaeb3d42b228e73c669b2fce78f1d3fe112769f (patch)
tree17f2e6c51ddf848e1e5f9b99ff5bfbcbe4cd9261 /src/evalfunc.c
parentffd6d31cb2c1b1a963a6113c41495dfdf10a5de8 (diff)
patch 9.0.2135: No test for mode() when executing Ex commandsv9.0.2135
Problem: No test for mode() when executing Ex commands Solution: Add some test cases and simplify several other test cases. Also add a few more test cases for ModeChanged. closes: #13588 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index fa27d0d274..b0b975061d 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -9733,7 +9733,7 @@ f_setenv(typval_T *argvars, typval_T *rettv UNUSED)
if (in_vim9script() && check_for_string_arg(argvars, 0) == FAIL)
return;
- // seting an environment variable may be dangerous, e.g. you could
+ // setting an environment variable may be dangerous, e.g. you could
// setenv GCONV_PATH=/tmp and then have iconv() unexpectedly call
// a shell command using some shared library:
if (check_restricted() || check_secure())