diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-11-20 23:50:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 06:50:30 +0800 |
commit | 07db909eb5ae2a559771068be64439eba394cd61 (patch) | |
tree | b5eee15db09280c5256223b455cbd6b934679427 /src | |
parent | cedf155fb5c4d687747e59f5d3fdad76a40aa069 (diff) | |
download | rneovim-07db909eb5ae2a559771068be64439eba394cd61.tar.gz rneovim-07db909eb5ae2a559771068be64439eba394cd61.tar.bz2 rneovim-07db909eb5ae2a559771068be64439eba394cd61.zip |
docs: misc (#31138)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/highlight_group.c | 2 | ||||
-rw-r--r-- | src/nvim/mbyte.c | 2 | ||||
-rw-r--r-- | src/nvim/option.c | 2 | ||||
-rw-r--r-- | src/nvim/popupmenu.c | 2 | ||||
-rw-r--r-- | src/nvim/tui/termkey/termkey-internal.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c index 8f026e9600..cc1b833c3c 100644 --- a/src/nvim/highlight_group.c +++ b/src/nvim/highlight_group.c @@ -303,7 +303,7 @@ static const char *highlight_init_both[] = { "default link @tag.builtin Special", // :help - // Higlight "===" and "---" heading delimiters specially. + // Highlight "===" and "---" heading delimiters specially. "default @markup.heading.1.delimiter.vimdoc guibg=bg guifg=bg guisp=fg gui=underdouble,nocombine ctermbg=NONE ctermfg=NONE cterm=underdouble,nocombine", "default @markup.heading.2.delimiter.vimdoc guibg=bg guifg=bg guisp=fg gui=underline,nocombine ctermbg=NONE ctermfg=NONE cterm=underline,nocombine", diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 65f718f925..b5a8588edd 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1119,7 +1119,7 @@ int utf_char2bytes(const int c, char *const buf) /// stateful algorithm to determine grapheme clusters. Still available /// to support some legacy code which hasn't been refactored yet. /// -/// To check if a char would combine with a preceeding space, use +/// To check if a char would combine with a preceding space, use /// utf_iscomposing_first() instead. /// /// Based on code from Markus Kuhn. diff --git a/src/nvim/option.c b/src/nvim/option.c index 1ce737bc59..1cfe4cd08b 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -228,7 +228,7 @@ static void set_init_default_backupskip(void) #endif { p = vim_getenv(names[i]); - plen = 0; // will be calcuated below + plen = 0; // will be calculated below } if (p != NULL && *p != NUL) { bool has_trailing_path_sep = false; diff --git a/src/nvim/popupmenu.c b/src/nvim/popupmenu.c index 7df6a1a5d7..d1951d4f96 100644 --- a/src/nvim/popupmenu.c +++ b/src/nvim/popupmenu.c @@ -880,7 +880,7 @@ static void pum_adjust_info_position(win_T *wp, int height, int width) /// Used for nvim__complete_set /// /// @param selected the selected compl item. -/// @parma info Info string. +/// @param info Info string. /// @return a win_T pointer. win_T *pum_set_info(int selected, char *info) { diff --git a/src/nvim/tui/termkey/termkey-internal.h b/src/nvim/tui/termkey/termkey-internal.h index 107591f950..97fae939c5 100644 --- a/src/nvim/tui/termkey/termkey-internal.h +++ b/src/nvim/tui/termkey/termkey-internal.h @@ -47,7 +47,7 @@ struct TermKey { int canonflags; unsigned char *buffer; size_t buffstart; // First offset in buffer - size_t buffcount; // NUMBER of entires valid in buffer + size_t buffcount; // NUMBER of entries valid in buffer size_t buffsize; // Total malloc'ed size size_t hightide; // Position beyond buffstart at which peekkey() should next start // normally 0, but see also termkey_interpret_csi |