aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHinidu <hinidu@gmail.com>2014-04-11 23:33:24 +0300
committerJustin M. Keyes <justinkz@gmail.com>2014-05-28 13:08:54 -0400
commit8fb4c551f477cdb84ae288a562993e1f50fa0411 (patch)
tree6889e6f1fdc7619a9189ac761b8c83f8cea13712
parentffc2ea372f78096b5d8e6bbad0676a16d4493be0 (diff)
downloadrneovim-8fb4c551f477cdb84ae288a562993e1f50fa0411.tar.gz
rneovim-8fb4c551f477cdb84ae288a562993e1f50fa0411.tar.bz2
rneovim-8fb4c551f477cdb84ae288a562993e1f50fa0411.zip
Remove FEAT_COMMENTS
Special comments formatting, see 'comments' option.
-rw-r--r--config/config.h.in1
-rw-r--r--src/nvim/edit.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/config/config.h.in b/config/config.h.in
index e047c2949e..2b31f6f6a5 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -104,7 +104,6 @@
#define FEAT_BROWSE
#define FEAT_BROWSE_CMD
#define FEAT_CMDHIST
-#define FEAT_COMMENTS
#define FEAT_COMPL_FUNC
#define FEAT_CONCEAL
#define FEAT_CON_DIALOG
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 6ea88843ab..338721d46d 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -1763,8 +1763,6 @@ void truncate_spaces(char_u *line)
line[i + 1] = NUL;
}
-#if defined(FEAT_VREPLACE) || defined(FEAT_INS_EXPAND) \
- || defined(FEAT_COMMENTS) || defined(PROTO)
/*
* Backspace the cursor until the given column. Handles REPLACE and VREPLACE
* modes correctly. May also be used when not in insert mode at all.
@@ -1781,7 +1779,6 @@ void backspace_until_column(int col)
break;
}
}
-#endif
/*
* Like del_char(), but make sure not to go before column "limit_col".