diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-20 08:12:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 15:12:59 +0800 |
commit | b62c0c8d9c22ae7fc9ee200733f8312efa6dbced (patch) | |
tree | 8d7cef5b70f6a4d1023242a5b37b4ece50837bc6 /src | |
parent | 8784f064f15e5ae0b6bc85c2972ec16c64656e2b (diff) | |
download | rneovim-b62c0c8d9c22ae7fc9ee200733f8312efa6dbced.tar.gz rneovim-b62c0c8d9c22ae7fc9ee200733f8312efa6dbced.tar.bz2 rneovim-b62c0c8d9c22ae7fc9ee200733f8312efa6dbced.zip |
docs: fix typos (#21961)
Co-authored-by: Ben Morgan <cassava@iexu.de>
Diffstat (limited to 'src')
-rwxr-xr-x | src/nvim/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/nvim/api/ui.c | 2 | ||||
-rw-r--r-- | src/nvim/edit.c | 2 | ||||
-rw-r--r-- | src/nvim/garray.h | 2 | ||||
-rw-r--r-- | src/nvim/main.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 7d75b8038e..329e831b2e 100755 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -6,7 +6,7 @@ find_package(libuv CONFIG) if(TARGET libuv::uv_a) target_link_libraries(libuv_lib INTERFACE libuv::uv_a) 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) target_include_directories(libuv_lib SYSTEM BEFORE INTERFACE ${LIBUV_INCLUDE_DIRS}) target_link_libraries(libuv_lib INTERFACE ${LIBUV_LIBRARIES}) diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c index 61f2c881b3..3c3c3008f4 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -254,7 +254,7 @@ void nvim_ui_detach(uint64_t channel_id, Error *err) 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) {} diff --git a/src/nvim/edit.c b/src/nvim/edit.c index ff7899d0eb..8b74593360 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -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_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 /// character at the end of the stack. If replace_offset is not 0, that many diff --git a/src/nvim/garray.h b/src/nvim/garray.h index 1623c4db7b..d3e04cd761 100644 --- a/src/nvim/garray.h +++ b/src/nvim/garray.h @@ -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 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) \ do { \ garray_T *_gap = (gap); \ diff --git a/src/nvim/main.c b/src/nvim/main.c index f2aa14e04c..0ecb5f742d 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -182,7 +182,7 @@ void early_init(mparm_T *paramp) #ifdef MSWIN OSVERSIONINFO 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. # pragma warning(suppress : 4996) GetVersionEx(&ovi); |