diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-01-04 19:07:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 11:07:40 -0700 |
commit | 0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9 (patch) | |
tree | 9c9f2f7f0049ac020dc9e3cef775a92dcc392639 /src/nvim/viml/parser | |
parent | d6f0c9539caca217ec1a63d32a048e43ff383e8f (diff) | |
download | rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.tar.gz rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.tar.bz2 rneovim-0b0c4f7dfa4a9a564cbf44262d4bea9bdefe2dc9.zip |
chore: fix typos (#16816)
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Sebastian Volland <seb@baunz.net>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/viml/parser')
-rw-r--r-- | src/nvim/viml/parser/expressions.c | 2 | ||||
-rw-r--r-- | src/nvim/viml/parser/expressions.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/viml/parser/expressions.c b/src/nvim/viml/parser/expressions.c index ba6cfab98b..8a14710351 100644 --- a/src/nvim/viml/parser/expressions.c +++ b/src/nvim/viml/parser/expressions.c @@ -1536,7 +1536,7 @@ static inline void east_set_error(const ParserState *const pstate, ExprASTError /* TODO(ZyX-I): Extend syntax to allow ${expr}. This is needed to */ \ /* handle environment variables like those bash uses for */ \ /* `export -f`: their names consist not only of alphanumeric */ \ - /* characetrs. */ \ + /* characters. */ \ case kExprNodeComplexIdentifier: \ case kExprNodePlainIdentifier: \ case kExprNodeCurlyBracesIdentifier: { \ diff --git a/src/nvim/viml/parser/expressions.h b/src/nvim/viml/parser/expressions.h index fe9327b27d..9d0bc9d468 100644 --- a/src/nvim/viml/parser/expressions.h +++ b/src/nvim/viml/parser/expressions.h @@ -57,7 +57,7 @@ typedef enum { } LexExprTokenType; typedef enum { - kExprCmpEqual, ///< Equality, unequality. + kExprCmpEqual, ///< Equality, inequality. kExprCmpMatches, ///< Matches regex, not matches regex. kExprCmpGreater, ///< `>` or `<=` kExprCmpGreaterOrEqual, ///< `>=` or `<`. |