*: Fix some typos found by oni-link

This commit is contained in:
ZyX
2017-11-06 20:20:31 +03:00
parent 42959d0e8f
commit f2660bee6a
3 changed files with 4 additions and 5 deletions

View File

@@ -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;

View File

@@ -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).

View File

@@ -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
{