fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate

This commit is contained in:
bfredl
2024-04-24 18:40:03 +02:00
parent a1550dbf0a
commit 1294e221a2
8 changed files with 31 additions and 11 deletions

View File

@@ -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);