summaryrefslogtreecommitdiff
path: root/src/optionstr.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/optionstr.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/optionstr.c')
-rw-r--r--src/optionstr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 44f0759a9..925ea592d 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -231,9 +231,7 @@ check_buf_options(buf_T *buf)
check_string_option(&buf->b_p_fo);
check_string_option(&buf->b_p_flp);
check_string_option(&buf->b_p_isk);
-#ifdef FEAT_COMMENTS
check_string_option(&buf->b_p_com);
-#endif
#ifdef FEAT_FOLDING
check_string_option(&buf->b_p_cms);
#endif
@@ -1263,7 +1261,6 @@ did_set_string_option(
}
}
-#ifdef FEAT_COMMENTS
// 'comments'
else if (gvarp == &p_com)
{
@@ -1294,7 +1291,6 @@ did_set_string_option(
s = skip_to_option_part(s);
}
}
-#endif
// 'listchars'
else if (varp == &p_lcs)