diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-22 22:02:59 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-23 23:16:20 -0400 |
commit | 4cb0bf09421e88adb812bb716b56af22bd51353e (patch) | |
tree | ed9c686270a620545f39a39cae5e8a00f1fe4ff2 /src/nvim/option.c | |
parent | d5329c0331a4e899ea88277b745df8d1bf3a99fa (diff) | |
download | rneovim-4cb0bf09421e88adb812bb716b56af22bd51353e.tar.gz rneovim-4cb0bf09421e88adb812bb716b56af22bd51353e.tar.bz2 rneovim-4cb0bf09421e88adb812bb716b56af22bd51353e.zip |
vim-patch:8.2.1255: cannot use a lambda with quickfix functions
Problem: Cannot use a lambda with quickfix functions.
Solution: Add support for lambda. (Yegappan Lakshmanan, closes vim/vim#6499)
https://github.com/vim/vim/commit/d43906d2e5969288f239df851f5ad7b1dc2c7251
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 57b8fe1a2e..f57abe89cc 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -85,6 +85,7 @@ #include "nvim/api/private/helpers.h" #include "nvim/os/input.h" #include "nvim/os/lang.h" +#include "nvim/quickfix.h" /* * The options that are local to a window or buffer have "indir" set to one of @@ -3182,6 +3183,10 @@ ambw_end: } } } + } else if (varp == &p_qftf) { + if (!qf_process_qftf_option()) { + errmsg = e_invarg; + } } else { // Options that are a list of flags. p = NULL; |