summaryrefslogtreecommitdiff
path: root/src/vim9compile.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-06-13 21:52:48 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-13 21:52:48 +0200
commit2d6d718dde7163c971d37b8f4f1ed8f2d25de130 (patch)
tree6f2deb1e3ca27a26a719dd2dff28b583ba3714e7 /src/vim9compile.c
parent5ffefbb35aba2448099314a9e09714d2f3b2b1bd (diff)
downloadvim-git-8.2.2994.tar.gz
patch 8.2.2994: various code is not fully testedv8.2.2994
Problem: Various code is not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index be8f30452..12f41f125 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -454,7 +454,7 @@ item_exists(char_u *name, size_t len, int cmd UNUSED, cctx_T *cctx)
if (name[len] == '(' || (p[0] == '-' && p[1] == '>'))
{
// Do not check for an internal function, since it might also be a
- // valid command, such as ":split" versuse "split()".
+ // valid command, such as ":split" versus "split()".
// Skip "g:" before a function name.
is_global = (name[0] == 'g' && name[1] == ':');
return find_func(is_global ? name + 2 : name, is_global, cctx) != NULL;