diff options
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 413dda67ba..815a95c2bb 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -679,7 +679,7 @@ qf_init_ext( size_t errmsglen; char_u *pattern; qfstate_T state = { NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, - NULL, lnumfirst, lnumlast }; + NULL, 0, 0 }; int col = 0; bool use_viscol = false; char_u type = 0; @@ -776,6 +776,8 @@ qf_init_ext( state.tv = tv; } state.buf = buf; + state.buflnum = lnumfirst; + state.lnumlast = lnumlast; /* * Read the lines in the error file one by one. |