aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-06 00:07:40 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-06 17:45:19 -0400
commit779b188db6ade50f87565a8805ee7eee6bf0a2a7 (patch)
tree7e40f351818ba5466f1586ad1e402e2c613c5b2e /src/nvim/quickfix.c
parent3ad6fb804f0f382fac8f9810c3862b2c500e9c24 (diff)
downloadrneovim-779b188db6ade50f87565a8805ee7eee6bf0a2a7.tar.gz
rneovim-779b188db6ade50f87565a8805ee7eee6bf0a2a7.tar.bz2
rneovim-779b188db6ade50f87565a8805ee7eee6bf0a2a7.zip
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. https://github.com/vim/vim/commit/88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 0c9902aaec..7d4f52af34 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -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();