Mercurial > vim
diff src/vim9compile.c @ 24914:1186160ecf57 v8.2.2994
patch 8.2.2994: various code is not fully tested
Commit: https://github.com/vim/vim/commit/2d6d718dde7163c971d37b8f4f1ed8f2d25de130
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Jun 13 21:52:48 2021 +0200
patch 8.2.2994: various code is not fully tested
Problem: Various code is not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8378)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jun 2021 22:00:04 +0200 |
parents | 99324f6b535a |
children | f11779c1d123 |
line wrap: on
line diff
--- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -454,7 +454,7 @@ item_exists(char_u *name, size_t len, in 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;