diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-31 23:11:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-31 23:11:59 +0200 |
commit | 858ba06d5f577b187da0367b231f7fa9461cb32d (patch) | |
tree | 89e7da14ddfacad9663c1289d8c71d57d81206f9 /src/optiondefs.h | |
parent | 2245ae18e3480057f98fc0e5d9f18091f32a5de0 (diff) |
patch 8.2.0869: it is not possible to customize the quickfix window contentsv8.2.0869
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 5ed9be9bc6..571a3af5e2 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -2045,6 +2045,15 @@ static struct vimoption options[] = #endif {(char_u *)DEFAULT_PYTHON_VER, (char_u *)0L} SCTX_INIT}, + {"quickfixtextfunc", "qftf", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_SECURE, +#if defined(FEAT_QUICKFIX) && defined(FEAT_EVAL) + (char_u *)&p_qftf, PV_NONE, + {(char_u *)"", (char_u *)0L} +#else + (char_u *)NULL, PV_NONE, + {(char_u *)NULL, (char_u *)NULL} +#endif + SCTX_INIT}, {"quoteescape", "qe", P_STRING|P_ALLOCED|P_VI_DEF, #ifdef FEAT_TEXTOBJ (char_u *)&p_qe, PV_QE, |