mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
ops.c: eliminate static variable y_current
This variable isn't stateful, and should be passed around instead. Helped-By: Scott Prager <splinterofchaos@gmail.com> Helped-By: Michael Reed <m.reed@mykolab.com>
This commit is contained in:
@@ -6487,7 +6487,7 @@ static void ex_operators(exarg_T *eap)
|
||||
|
||||
case CMD_yank:
|
||||
oa.op_type = OP_YANK;
|
||||
(void)op_yank(&oa, FALSE, TRUE);
|
||||
(void)op_yank(&oa, true);
|
||||
break;
|
||||
|
||||
default: /* CMD_rshift or CMD_lshift */
|
||||
|
Reference in New Issue
Block a user