summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-06 16:12:59 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-06 16:12:59 +0200
commit8134039744ffa581f7c217df58131b709317c1c8 (patch)
treef8fd1cddb2359407b77c3b9a494a27a451e6378c /src/option.h
parentbc256d91eadb8f32d6a5833c1878684d3c75fb2d (diff)
downloadvim-git-8134039744ffa581f7c217df58131b709317c1c8.tar.gz
updated for version 7.3.541v7.3.541
Problem: When joining lines comment leaders need to be removed manually. Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index 9dd938723..756cd1aaf 100644
--- a/src/option.h
+++ b/src/option.h
@@ -104,10 +104,11 @@
#define FO_ONE_LETTER '1'
#define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */
#define FO_AUTO 'a' /* automatic formatting */
+#define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */
#define DFLT_FO_VI "vt"
#define DFLT_FO_VIM "tcq"
-#define FO_ALL "tcroq2vlb1mMBn,aw" /* for do_set() */
+#define FO_ALL "tcroq2vlb1mMBn,awj" /* for do_set() */
/* characters for the p_cpo option: */
#define CPO_ALTREAD 'a' /* ":read" sets alternate file name */