summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-28 19:05:57 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-28 19:05:57 +0200
commit8c96af9c05bfcac2d5ae081e098d4863db561511 (patch)
treeaa01cdaf87cf8050334c8cb20014774623614e73 /src/option.c
parenta893194d91a2942d4d54085d746ed137a9251b69 (diff)
downloadvim-git-8c96af9c05bfcac2d5ae081e098d4863db561511.tar.gz
patch 8.1.2096: too many #ifdefsv8.1.2096
Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/option.c b/src/option.c
index cd2cdceaf..51e75c330 100644
--- a/src/option.c
+++ b/src/option.c
@@ -5386,9 +5386,7 @@ get_varp(struct vimoption *p)
#if defined(FEAT_SMARTINDENT) || defined(FEAT_CINDENT)
case PV_CINW: return (char_u *)&(curbuf->b_p_cinw);
#endif
-#ifdef FEAT_COMMENTS
case PV_COM: return (char_u *)&(curbuf->b_p_com);
-#endif
#ifdef FEAT_FOLDING
case PV_CMS: return (char_u *)&(curbuf->b_p_cms);
#endif
@@ -5844,9 +5842,7 @@ buf_copy_options(buf_T *buf, int flags)
? vim_strsave(p_vsts_nopaste) : NULL;
#endif
buf->b_p_sn = p_sn;
-#ifdef FEAT_COMMENTS
buf->b_p_com = vim_strsave(p_com);
-#endif
#ifdef FEAT_FOLDING
buf->b_p_cms = vim_strsave(p_cms);
#endif