mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
chore: fix typos (#16361)
Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: István Donkó <istvan.donko@gmail.com> Co-authored-by: Julian Berman <Julian@GrayVines.com> Co-authored-by: bryant <bryant@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com> Co-authored-by: Jesse Wertheim <jaawerth@gmail.com> Co-authored-by: dm1try <me@dmitry.it> Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl> Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com> Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: István Donkó <istvan.donko@gmail.com> Co-authored-by: Julian Berman <Julian@GrayVines.com> Co-authored-by: bryant <bryant@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com> Co-authored-by: Jesse Wertheim <jaawerth@gmail.com> Co-authored-by: dm1try <me@dmitry.it> Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl> Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ enum {
|
||||
};
|
||||
|
||||
/* Storing integer in pointers in undefined behavior according to the C
|
||||
* standard. Define a union type to accomodate arbitrary user data associated
|
||||
* standard. Define a union type to accommodate arbitrary user data associated
|
||||
* with nodes(and with requests in rpc.h). */
|
||||
typedef union {
|
||||
void *p;
|
||||
|
@@ -535,7 +535,7 @@ end:
|
||||
/// @param channel_id
|
||||
/// @param buffer Buffer handle, or 0 for current buffer
|
||||
/// @param start_row First line index
|
||||
/// @param start_column Last column
|
||||
/// @param start_column First column
|
||||
/// @param end_row Last line index
|
||||
/// @param end_column Last column
|
||||
/// @param replacement Array of lines to use as replacement
|
||||
@@ -1246,7 +1246,7 @@ ArrayOf(Integer, 2) nvim_buf_get_mark(Buffer buffer, String name, Error *err)
|
||||
/// If the current window already shows "buffer", the window is not switched
|
||||
/// If a window inside the current tabpage (including a float) already shows the
|
||||
/// buffer One of these windows will be set as current window temporarily.
|
||||
/// Otherwise a temporary scratch window (calleed the "autocmd window" for
|
||||
/// Otherwise a temporary scratch window (called the "autocmd window" for
|
||||
/// historical reasons) will be used.
|
||||
///
|
||||
/// This is useful e.g. to call vimL functions that only work with the current
|
||||
|
@@ -839,7 +839,7 @@ void nvim_buf_clear_namespace(Buffer buffer, Integer ns_id, Integer line_start,
|
||||
/// - on_win: called when starting to redraw a specific window.
|
||||
/// ["win", winid, bufnr, topline, botline_guess]
|
||||
/// - on_line: called for each buffer line being redrawn. (The
|
||||
/// interation with fold lines is subject to change)
|
||||
/// interaction with fold lines is subject to change)
|
||||
/// ["win", winid, bufnr, row]
|
||||
/// - on_end: called at the end of a redraw cycle
|
||||
/// ["end", tick]
|
||||
|
@@ -666,7 +666,7 @@ static kh_inline khint_t __ac_Wang_hash(khint_t key)
|
||||
} \
|
||||
}
|
||||
|
||||
// More conenient interfaces
|
||||
// More convenient interfaces
|
||||
|
||||
/*! @function
|
||||
@abstract Instantiate a hash set containing integer keys
|
||||
|
Reference in New Issue
Block a user