diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-19 07:59:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 07:59:09 +0200 |
commit | 8b60253ce747183a1896a8f0057519a1e2e517a1 (patch) | |
tree | d69fed82e725c2ec580cd511e4958a8d5967faae /src/nvim/globals.h | |
parent | d0401e827bdeff99fc6a0fa6599cad2970bd6136 (diff) | |
download | rneovim-8b60253ce747183a1896a8f0057519a1e2e517a1.tar.gz rneovim-8b60253ce747183a1896a8f0057519a1e2e517a1.tar.bz2 rneovim-8b60253ce747183a1896a8f0057519a1e2e517a1.zip |
cleanup/TUI: remove old unused code #9013
- Checks for ECHOE, ICANON were left over from Vim code. We already
reference the symbols elsewhere without checking.
- newline_on_exit, intr_char: Both are vestigial remnants of Vim 4.x,
not implemented in Nvim. intr_char is a termios/stty feature, it's
probably not useful because users have other ways to configure their
terminals.
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index b2e6233400..9bba2379cd 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -280,13 +280,9 @@ EXTERN int did_wait_return INIT(= FALSE); /* wait_return() was used and nothing written since then */ EXTERN int need_maketitle INIT(= TRUE); /* call maketitle() soon */ -EXTERN int quit_more INIT(= FALSE); /* 'q' hit at "--more--" msg */ -#if defined(UNIX) || defined(MACOS_X) -EXTERN int newline_on_exit INIT(= FALSE); /* did msg in altern. screen */ -EXTERN int intr_char INIT(= 0); /* extra interrupt character */ -#endif -EXTERN int ex_keep_indent INIT(= FALSE); /* getexmodeline(): keep indent */ -EXTERN int vgetc_busy INIT(= 0); /* when inside vgetc() then > 0 */ +EXTERN int quit_more INIT(= false); // 'q' hit at "--more--" msg +EXTERN int ex_keep_indent INIT(= false); // getexmodeline(): keep indent +EXTERN int vgetc_busy INIT(= 0); // when inside vgetc() then > 0 EXTERN int didset_vim INIT(= FALSE); /* did set $VIM ourselves */ EXTERN int didset_vimruntime INIT(= FALSE); /* idem for $VIMRUNTIME */ |