mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
vim-patch:8.1.2401: :cexpr does not handle | in expression
Problem: :cexpr does not handle | in expression.
Solution: Remove EX_TRLBAR and set nextcmd pointer.
88a3e2b2ac
This commit is contained in:
@@ -6377,7 +6377,7 @@ void ex_cexpr(exarg_T *eap)
|
||||
// Evaluate the expression. When the result is a string or a list we can
|
||||
// use it to fill the errorlist.
|
||||
typval_T tv;
|
||||
if (eval0(eap->arg, &tv, NULL, true) != FAIL) {
|
||||
if (eval0(eap->arg, &tv, &eap->nextcmd, true) != FAIL) {
|
||||
if ((tv.v_type == VAR_STRING && tv.vval.v_string != NULL)
|
||||
|| tv.v_type == VAR_LIST) {
|
||||
incr_quickfix_busy();
|
||||
|
Reference in New Issue
Block a user