aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/config.h.in1
-rw-r--r--src/nvim/buffer.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/config/config.h.in b/config/config.h.in
index 2cb268f71e..db9358e121 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_CMDL_INFO
#define FEAT_CMDWIN
#define FEAT_COMMENTS
#define FEAT_COMPL_FUNC
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 5942f51df4..ee606d9e80 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -3510,8 +3510,6 @@ build_stl_str_hl (
return width;
}
-#if defined(FEAT_STL_OPT) || defined(FEAT_CMDL_INFO) \
- || defined(FEAT_GUI_TABLINE) || defined(PROTO)
/*
* Get relative cursor position in window into "buf[buflen]", in the form 99%,
* using "Top", "Bot" or "All" when appropriate.
@@ -3534,7 +3532,6 @@ void get_rel_pos(win_T *wp, char_u *buf, int buflen)
? (int)(above / ((above + below) / 100L))
: (int)(above * 100L / (above + below)));
}
-#endif
/*
* Append (file 2 of 8) to "buf[buflen]", if editing more than one file.