mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ex_getln.c: Enable middle click pasting in command mode
This commit is contained in:
parent
0e9f7a7b36
commit
43456e43de
@ -1130,7 +1130,7 @@ static int command_line_handle_key(CommandLineState *s)
|
|||||||
if (!mouse_has(MOUSE_COMMAND)) {
|
if (!mouse_has(MOUSE_COMMAND)) {
|
||||||
return command_line_not_changed(s); // Ignore mouse
|
return command_line_not_changed(s); // Ignore mouse
|
||||||
}
|
}
|
||||||
cmdline_paste(0, true, true);
|
cmdline_paste(eval_has_provider("clipboard") ? '*' : 0, true, true);
|
||||||
redrawcmd();
|
redrawcmd();
|
||||||
return command_line_changed(s);
|
return command_line_changed(s);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user