diff options
author | ZyX <kp-pav@yandex.ru> | 2017-11-06 20:20:31 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-11-06 20:20:31 +0300 |
commit | f2660bee6aca35be3d0ddb1d225784476c13cd27 (patch) | |
tree | 1f2a9417b7d5c15add3428083fe36d851d6d159e | |
parent | 42959d0e8f9e779ba4983016b24967bf02abb59f (diff) | |
download | rneovim-f2660bee6aca35be3d0ddb1d225784476c13cd27.tar.gz rneovim-f2660bee6aca35be3d0ddb1d225784476c13cd27.tar.bz2 rneovim-f2660bee6aca35be3d0ddb1d225784476c13cd27.zip |
*: Fix some typos found by oni-link
-rw-r--r-- | src/nvim/ex_getln.c | 1 | ||||
-rwxr-xr-x | src/nvim/generators/gen_declarations.lua | 6 | ||||
-rw-r--r-- | src/nvim/keymap.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index f64efe08a1..3b751530e8 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2501,7 +2501,6 @@ static bool color_cmdline(CmdlineInfo *colored_ccline) can_free_cb = true; } else if (colored_ccline->cmdfirstc == '=') { color_expr_cmdline(colored_ccline, ccline_colors); - can_free_cb = false; } if (!tl_ret || !dgc_ret) { goto color_cmdline_error; diff --git a/src/nvim/generators/gen_declarations.lua b/src/nvim/generators/gen_declarations.lua index 0c73376ba0..065c043557 100755 --- a/src/nvim/generators/gen_declarations.lua +++ b/src/nvim/generators/gen_declarations.lua @@ -169,10 +169,10 @@ Usage: gendeclarations.lua definitions.c static.h non-static.h definitions.i -Generates declarations for a C file defitions.c, putting declarations for +Generates declarations for a C file definitions.c, putting declarations for static functions into static.h and declarations for non-static functions into non-static.h. File `definitions.i' should contain an already preprocessed -version of defintions.c and it is the only one which is actually parsed, +version of definitions.c and it is the only one which is actually parsed, definitions.c is needed only to determine functions from which file out of all functions found in definitions.i are needed. @@ -181,7 +181,7 @@ Additionally uses the following environment variables: NVIM_GEN_DECLARATIONS_LINE_NUMBERS: If set to 1 then all generated declarations receive a comment with file name and line number after the declaration. This may be useful for - debugging gen_declarations script, but not much beyound that with + debugging gen_declarations script, but not much beyond that with configured development environment (i.e. with ctags/cscope/finding definitions with clang/etc). diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 0c8e47b02e..aca21c20a5 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -714,7 +714,7 @@ int find_special_key_in_table(int c) /// with "t_" the next two characters are interpreted as /// a termcap name. /// -/// @return Key code or 0 if ton found. +/// @return Key code or 0 if not found. int get_special_key_code(const char_u *name) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT { |