mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 06:16:08 +00:00
fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate
This commit is contained in:
@@ -1968,7 +1968,7 @@ static int command_line_handle_key(CommandLineState *s)
|
||||
return command_line_not_changed(s); // Ignore mouse
|
||||
|
||||
case K_MIDDLEMOUSE:
|
||||
cmdline_paste(eval_has_provider("clipboard") ? '*' : 0, true, true);
|
||||
cmdline_paste(eval_has_provider("clipboard", false) ? '*' : 0, true, true);
|
||||
redrawcmd();
|
||||
return command_line_changed(s);
|
||||
|
||||
|
Reference in New Issue
Block a user