docs: fix typos (#21961)

Co-authored-by: Ben Morgan <cassava@iexu.de>
This commit is contained in:
dundargoc
2023-02-20 08:12:59 +01:00
committed by GitHub
parent 8784f064f1
commit b62c0c8d9c
12 changed files with 13 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ option(USE_BUNDLED_MSGPACK "Use the bundled msgpack." ${USE_BUNDLED})
option(USE_BUNDLED_LUAJIT "Use the bundled version of luajit." ${USE_BUNDLED}) option(USE_BUNDLED_LUAJIT "Use the bundled version of luajit." ${USE_BUNDLED})
option(USE_BUNDLED_LUAROCKS "Use the bundled version of luarocks." ${USE_BUNDLED}) option(USE_BUNDLED_LUAROCKS "Use the bundled version of luarocks." ${USE_BUNDLED})
option(USE_BUNDLED_LUV "Use the bundled version of luv." ${USE_BUNDLED}) option(USE_BUNDLED_LUV "Use the bundled version of luv." ${USE_BUNDLED})
#XXX(tarruda): Lua is only used for debugging the functional test client, no #XXX(tarruda): Lua is only used for debugging the functional test client, don't
# build it unless explicitly requested # build it unless explicitly requested
option(USE_BUNDLED_LUA "Use the bundled version of lua." OFF) option(USE_BUNDLED_LUA "Use the bundled version of lua." OFF)
option(USE_BUNDLED_TS_PARSERS "Use the bundled treesitter parsers." ${USE_BUNDLED}) option(USE_BUNDLED_TS_PARSERS "Use the bundled treesitter parsers." ${USE_BUNDLED})

View File

@@ -10,7 +10,7 @@ include(CheckVariableExists)
include(LibFindMacros) include(LibFindMacros)
# Append custom gettext path to CMAKE_PREFIX_PATH # Append custom gettext path to CMAKE_PREFIX_PATH
# if installed via Mac Hombrew # if installed via Mac Homebrew
if (CMAKE_HOST_APPLE) if (CMAKE_HOST_APPLE)
find_program(HOMEBREW_PROG brew) find_program(HOMEBREW_PROG brew)
if (EXISTS ${HOMEBREW_PROG}) if (EXISTS ${HOMEBREW_PROG})

View File

@@ -1827,8 +1827,8 @@ v:event Dictionary of event data for the current |autocommand|. Valid
|CompleteChanged|. |CompleteChanged|.
scrollbar Is |v:true| if popup menu have scrollbar, or scrollbar Is |v:true| if popup menu have scrollbar, or
|v:false| if not. |v:false| if not.
changed_window Is |v:true| if the the event fired changed_window Is |v:true| if the event fired while
while changing window (or tab) on |DirChanged|. changing window (or tab) on |DirChanged|.
status Job status or exit code, -1 means "unknown". |TermClose| status Job status or exit code, -1 means "unknown". |TermClose|
*v:exception* *exception-variable* *v:exception* *exception-variable*

View File

@@ -382,7 +382,7 @@ Note:
- If numlock is on the |TUI| receives plain ASCII values, so mapping <k0>, - If numlock is on the |TUI| receives plain ASCII values, so mapping <k0>,
<k1>, ..., <k9> and <kPoint> will not work. <k1>, ..., <k9> and <kPoint> will not work.
- Nvim supports mapping multibyte chars with modifiers such as `<M-ä>`. Which - Nvim supports mapping multibyte chars with modifiers such as `<M-ä>`. Which
combinations actually work depends on the the UI or host terminal. combinations actually work depends on the UI or host terminal.
- When a key is pressed using a meta or alt modifier and no mapping exists for - When a key is pressed using a meta or alt modifier and no mapping exists for
that keypress, Nvim may behave as though <Esc> was pressed before the key. that keypress, Nvim may behave as though <Esc> was pressed before the key.
- It is possible to notate combined modifiers (e.g. <C-A-T> for CTRL-ALT-T), - It is possible to notate combined modifiers (e.g. <C-A-T> for CTRL-ALT-T),

View File

@@ -92,7 +92,7 @@ The ignore-case matches are found when:
- when 'tagcase' is "followscs" and 'ignorecase' is on or the 'smartcase' - when 'tagcase' is "followscs" and 'ignorecase' is on or the 'smartcase'
option is on and the pattern does not contain an upper case character option is on and the pattern does not contain an upper case character
- when 'tagcase' is "ignore" - when 'tagcase' is "ignore"
- when 'tagcase' is "smart" and the patter does not contain an upper case - when 'tagcase' is "smart" and the pattern does not contain an upper case
character character
Note that using ignore-case tag searching disables binary searching in the Note that using ignore-case tag searching disables binary searching in the

View File

@@ -6,7 +6,7 @@ find_package(libuv CONFIG)
if(TARGET libuv::uv_a) if(TARGET libuv::uv_a)
target_link_libraries(libuv_lib INTERFACE libuv::uv_a) target_link_libraries(libuv_lib INTERFACE libuv::uv_a)
else() else()
# Fallback to find module for older libuv versions, that don't provide the cmake package # Fall back to find module for older libuv versions that don't provide config file
find_package(LibUV 1.28.0 REQUIRED MODULE) find_package(LibUV 1.28.0 REQUIRED MODULE)
target_include_directories(libuv_lib SYSTEM BEFORE INTERFACE ${LIBUV_INCLUDE_DIRS}) target_include_directories(libuv_lib SYSTEM BEFORE INTERFACE ${LIBUV_INCLUDE_DIRS})
target_link_libraries(libuv_lib INTERFACE ${LIBUV_LIBRARIES}) target_link_libraries(libuv_lib INTERFACE ${LIBUV_LIBRARIES})

View File

@@ -254,7 +254,7 @@ void nvim_ui_detach(uint64_t channel_id, Error *err)
remote_ui_disconnect(channel_id); remote_ui_disconnect(channel_id);
} }
// TODO(bfredl): use me to detach a specifc ui from the server // TODO(bfredl): use me to detach a specific ui from the server
void remote_ui_stop(UI *ui) void remote_ui_stop(UI *ui)
{} {}

View File

@@ -2791,7 +2791,7 @@ static char_u *replace_stack = NULL;
static ssize_t replace_stack_nr = 0; // next entry in replace stack static ssize_t replace_stack_nr = 0; // next entry in replace stack
static ssize_t replace_stack_len = 0; // max. number of entries static ssize_t replace_stack_len = 0; // max. number of entries
/// Push character that is replaced onto the the replace stack. /// Push character that is replaced onto the replace stack.
/// ///
/// replace_offset is normally 0, in which case replace_push will add a new /// replace_offset is normally 0, in which case replace_push will add a new
/// character at the end of the stack. If replace_offset is not 0, that many /// character at the end of the stack. If replace_offset is not 0, that many

View File

@@ -52,7 +52,7 @@ static inline void *ga_append_via_ptr(garray_T *gap, size_t item_size)
/// ///
/// @param gap the garray to be freed /// @param gap the garray to be freed
/// @param item_type type of the item in the garray /// @param item_type type of the item in the garray
/// @param free_item_fn free function that takes (*item_type) as parameter /// @param free_item_fn free function that takes (item_type *) as parameter
#define GA_DEEP_CLEAR(gap, item_type, free_item_fn) \ #define GA_DEEP_CLEAR(gap, item_type, free_item_fn) \
do { \ do { \
garray_T *_gap = (gap); \ garray_T *_gap = (gap); \

View File

@@ -182,7 +182,7 @@ void early_init(mparm_T *paramp)
#ifdef MSWIN #ifdef MSWIN
OSVERSIONINFO ovi; OSVERSIONINFO ovi;
ovi.dwOSVersionInfoSize = sizeof(ovi); ovi.dwOSVersionInfoSize = sizeof(ovi);
// Disable warning about GetVersionExA being deprecated. There doesn't seem to be a conventient // Disable warning about GetVersionExA being deprecated. There doesn't seem to be a convenient
// replacement that doesn't add a ton of extra code as of writing this. // replacement that doesn't add a ton of extra code as of writing this.
# pragma warning(suppress : 4996) # pragma warning(suppress : 4996)
GetVersionEx(&ovi); GetVersionEx(&ovi);