mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
perf(highlight): use binary search to lookup RGB color names
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/window.h"
|
||||
|
||||
static yankreg_T y_regs[NUM_REGISTERS];
|
||||
static yankreg_T y_regs[NUM_REGISTERS] = { 0 };
|
||||
|
||||
static yankreg_T *y_previous = NULL; // ptr to last written yankreg
|
||||
|
||||
@@ -2571,12 +2571,6 @@ int op_change(oparg_T *oap)
|
||||
return retval;
|
||||
}
|
||||
|
||||
/// set all the yank registers to empty (called from main())
|
||||
void init_yank(void)
|
||||
{
|
||||
memset(&(y_regs[0]), 0, sizeof(y_regs));
|
||||
}
|
||||
|
||||
#if defined(EXITFREE)
|
||||
void clear_registers(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user