mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
vim-patch:9.0.1588: Incsearch not triggered when pasting clipboard register (#23817)
Problem: Incsearch not triggered when pasting clipboard register on the
command line.
Solution: Also set "literally" when using a clipboard register. (Ken Takata,
closes vim/vim#12460)
9cf6ab1332
Co-authored-by: K.Takata <kentkt@csc.jp>
This commit is contained in:
@@ -854,15 +854,6 @@ static bool is_append_register(int regname)
|
||||
return ASCII_ISUPPER(regname);
|
||||
}
|
||||
|
||||
/// @see get_yank_register
|
||||
/// @returns true when register should be inserted literally
|
||||
/// (selection or clipboard)
|
||||
static inline bool is_literal_register(int regname)
|
||||
FUNC_ATTR_CONST
|
||||
{
|
||||
return regname == '*' || regname == '+';
|
||||
}
|
||||
|
||||
/// @return a copy of contents in register `name` for use in do_put. Should be
|
||||
/// freed by caller.
|
||||
yankreg_T *copy_register(int name)
|
||||
|
Reference in New Issue
Block a user