diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-26 17:53:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-26 17:53:44 +0100 |
commit | 2ee347fbc0619179fefb9933e9bb1165463507b3 (patch) | |
tree | 9c66f20830efdc90cb227601caa725a2e2cf56f6 /src/evalfunc.c | |
parent | 5416232707349d5f24294178f47544f2024b73ed (diff) |
patch 9.0.0280: the builtin termcap list depends on the versionv9.0.0280
Problem: The builtin termcap list depends on the version.
Solution: Always include all termcap entries. Remove duplicate lines.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 230ea0d8e2..a5f9ee359e 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -5469,20 +5469,8 @@ f_has(typval_T *argvars, typval_T *rettv) 0 #endif }, - {"builtin_terms", -#if defined(SOME_BUILTIN_TCAPS) || defined(ALL_BUILTIN_TCAPS) - 1 -#else - 0 -#endif - }, - {"all_builtin_terms", -#if defined(ALL_BUILTIN_TCAPS) - 1 -#else - 0 -#endif - }, + {"builtin_terms", 1}, + {"all_builtin_terms", 1}, {"browsefilter", #if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \ || defined(FEAT_GUI_MSWIN) \ |