aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-11-22 14:01:12 +0900
committerBjörn Linse <bjorn.linse@gmail.com>2020-01-17 11:36:28 +0100
commit1e4f29069146cbab0be0559d87e399aefa433a29 (patch)
treee9a50ea156867a93c3031e09c6d85573d8c397e7 /src/nvim/option.c
parentc86d5fa981b0651167f789aaff685b42cad7aaca (diff)
downloadrneovim-1e4f29069146cbab0be0559d87e399aefa433a29.tar.gz
rneovim-1e4f29069146cbab0be0559d87e399aefa433a29.tar.bz2
rneovim-1e4f29069146cbab0be0559d87e399aefa433a29.zip
Remove termtype option
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 959b4c41a5..0c87a422dc 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -313,9 +313,6 @@ static char *(p_scl_values[]) = { "yes", "no", "auto", "auto:1", "auto:2",
"auto:3", "auto:4", "auto:5", "auto:6", "auto:7", "auto:8", "auto:9",
"yes:1", "yes:2", "yes:3", "yes:4", "yes:5", "yes:6", "yes:7", "yes:8",
"yes:9", NULL };
-#ifdef WIN32
-static char *(p_tmt_values[]) = { "conpty", "winpty", "", NULL };
-#endif
/// All possible flags for 'shm'.
static char_u SHM_ALL[] = {
@@ -3288,13 +3285,6 @@ ambw_end:
if (!parse_winhl_opt(curwin)) {
errmsg = e_invarg;
}
-#ifdef WIN32
- } else if (varp == &p_tmt) {
- if (check_opt_strings(*varp, p_tmt_values, false) != OK
- || (!os_has_conpty_working() && STRCMP(*varp, "conpty") == 0)) {
- errmsg = e_invarg;
- }
-#endif
} else {
// Options that are a list of flags.
p = NULL;