From 9d6c5de4f1cf92a3e145a7c76529f8f80bb24551 Mon Sep 17 00:00:00 2001 From: Hinidu Date: Fri, 11 Apr 2014 23:29:16 +0300 Subject: Remove FEAT_CMDL_INFO 'showcmd' and 'ruler' options --- config/config.h.in | 1 - src/nvim/buffer.c | 3 --- 2 files changed, 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. -- cgit