diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-04-27 22:08:14 -0400 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-05-01 16:45:02 -0400 |
commit | 71592a06fd1be6632bdadfd1481c33cc5b79632d (patch) | |
tree | fa720c8066d58f6d5e173930ab5b4096ce09b9d4 | |
parent | 98b3dc0571603f07f3e81babe402bb0837fc619b (diff) | |
download | rneovim-71592a06fd1be6632bdadfd1481c33cc5b79632d.tar.gz rneovim-71592a06fd1be6632bdadfd1481c33cc5b79632d.tar.bz2 rneovim-71592a06fd1be6632bdadfd1481c33cc5b79632d.zip |
src: Misc. cleanup
These macros (and global) haven't been used since
3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9
-rw-r--r-- | src/nvim/globals.h | 4 | ||||
-rw-r--r-- | src/nvim/keymap.c | 2 | ||||
-rw-r--r-- | src/nvim/screen.c | 12 |
3 files changed, 0 insertions, 18 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 739042201f..b9a1916ef2 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -1048,10 +1048,6 @@ EXTERN int typebuf_was_filled INIT(= FALSE); /* received text from client or from feedkeys() */ -#if defined(UNIX) -EXTERN int term_is_xterm INIT(= FALSE); /* xterm-like 'term' */ -#endif - #ifdef BACKSLASH_IN_FILENAME EXTERN char psepc INIT(= '\\'); /* normal path separator character */ EXTERN char psepcN INIT(= '/'); /* abnormal path separator character */ diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 455615d318..8def1bb2ad 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -291,8 +291,6 @@ static struct key_name_entry { {0, NULL} }; -#define KEY_NAMES_TABLE_LEN ARRAY_SIZE(key_names_table) - static struct mousetable { int pseudo_code; /* Code for pseudo mouse event */ int button; /* Which mouse button is it? */ diff --git a/src/nvim/screen.c b/src/nvim/screen.c index dc94f331fd..8761e44196 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -6415,18 +6415,6 @@ static void win_rest_invalid(win_T *wp) * screen changes, and in the meantime, everything still works. */ -/* - * types for inserting or deleting lines - */ -#define USE_T_CAL 1 -#define USE_T_CDL 2 -#define USE_T_AL 3 -#define USE_T_CE 4 -#define USE_T_DL 5 -#define USE_T_SR 6 -#define USE_NL 7 -#define USE_T_CD 8 -#define USE_REDRAW 9 // insert lines on the screen and update ScreenLines[] // 'end' is the line after the scrolled part. Normally it is Rows. |