mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
doc: fix typos [ci skip] #11787
This commit is contained in:
@@ -177,7 +177,7 @@ typedef enum {
|
||||
|
||||
/// Possible results when reading ShaDa file
|
||||
typedef enum {
|
||||
kSDReadStatusSuccess, ///< Reading was successfull.
|
||||
kSDReadStatusSuccess, ///< Reading was successful.
|
||||
kSDReadStatusFinished, ///< Nothing more to read.
|
||||
kSDReadStatusReadError, ///< Failed to read from file.
|
||||
kSDReadStatusNotShaDa, ///< Input is most likely not a ShaDa file.
|
||||
@@ -186,11 +186,11 @@ typedef enum {
|
||||
|
||||
/// Possible results of shada_write function.
|
||||
typedef enum {
|
||||
kSDWriteSuccessfull, ///< Writing was successfull.
|
||||
kSDWriteReadNotShada, ///< Writing was successfull, but when reading it
|
||||
kSDWriteSuccessfull, ///< Writing was successful.
|
||||
kSDWriteReadNotShada, ///< Writing was successful, but when reading it
|
||||
///< attempted to read file that did not look like
|
||||
///< a ShaDa file.
|
||||
kSDWriteFailed, ///< Writing was not successfull (e.g. because there
|
||||
kSDWriteFailed, ///< Writing was not successful (e.g. because there
|
||||
///< was no space left on device).
|
||||
kSDWriteIgnError, ///< Writing resulted in a error which can be ignored
|
||||
///< (e.g. when trying to dump a function reference or
|
||||
@@ -3005,7 +3005,7 @@ shada_write_exit:
|
||||
/// location is used.
|
||||
/// @param[in] nomerge If true then old file is ignored.
|
||||
///
|
||||
/// @return OK if writing was successfull, FAIL otherwise.
|
||||
/// @return OK if writing was successful, FAIL otherwise.
|
||||
int shada_write_file(const char *const file, bool nomerge)
|
||||
{
|
||||
if (shada_disabled()) {
|
||||
@@ -3341,7 +3341,7 @@ static ShaDaReadResult fread_len(ShaDaReadDef *const sd_reader,
|
||||
/// @param[in] sd_reader Structure containing file reader definition.
|
||||
/// @param[out] result Location where result is saved.
|
||||
///
|
||||
/// @return kSDReadStatusSuccess if reading was successfull,
|
||||
/// @return kSDReadStatusSuccess if reading was successful,
|
||||
/// kSDReadStatusNotShaDa if there were not enough bytes to read or
|
||||
/// kSDReadStatusReadError if reading failed for whatever reason.
|
||||
static ShaDaReadResult msgpack_read_uint64(ShaDaReadDef *const sd_reader,
|
||||
|
Reference in New Issue
Block a user