mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
@@ -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})
|
||||
|
@@ -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)
|
||||
{}
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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); \
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user