Mercurial > vim
comparison src/evalfunc.c @ 14214:68166b841ee9 v8.1.0124
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal
commit https://github.com/vim/vim/commit/d8b37a53bd29cab78c6997aa75207385213f23e2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 28 15:50:28 2018 +0200
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal
Problem: has('vcon') returns true even for non-win32 terminal.
Solution: Check the terminal type. (Nobuhiro Takasaki, closes https://github.com/vim/vim/issues/3106)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Jun 2018 16:00:07 +0200 |
parents | 0181a2cad0a1 |
children | 3c80092eb211 |
comparison
equal
deleted
inserted
replaced
14213:762bd604e3b3 | 14214:68166b841ee9 |
---|---|
6607 else if (STRICMP(name, "syntax_items") == 0) | 6607 else if (STRICMP(name, "syntax_items") == 0) |
6608 n = syntax_present(curwin); | 6608 n = syntax_present(curwin); |
6609 #endif | 6609 #endif |
6610 #ifdef FEAT_VTP | 6610 #ifdef FEAT_VTP |
6611 else if (STRICMP(name, "vcon") == 0) | 6611 else if (STRICMP(name, "vcon") == 0) |
6612 n = has_vtp_working(); | 6612 n = is_term_win32() && has_vtp_working(); |
6613 #endif | 6613 #endif |
6614 #ifdef FEAT_NETBEANS_INTG | 6614 #ifdef FEAT_NETBEANS_INTG |
6615 else if (STRICMP(name, "netbeans_enabled") == 0) | 6615 else if (STRICMP(name, "netbeans_enabled") == 0) |
6616 n = netbeans_active(); | 6616 n = netbeans_active(); |
6617 #endif | 6617 #endif |