From 7ea4b510af349ebab8fac9e3445a04ed19e21080 Mon Sep 17 00:00:00 2001 From: "Eduardo Antunes C. de Sousa" Date: Fri, 6 Mar 2015 11:42:04 -0300 Subject: [PATCH] Dectect when vim.exe is running on ConEmu with 256 colors configured, so it will use full color scheme. More information on http://stackoverflow.com/questions/14315519/conemu-vim-syntax-highlight --- autoload/airline/highlighter.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index c1542fa..0d3dce9 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -1,7 +1,8 @@ " MIT License. Copyright (c) 2013-2015 Bailey Ling. " vim: et ts=2 sts=2 sw=2 -let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running') +let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running') && (empty($CONEMUBUILD) || &term !=? 'xterm') + let s:separators = {} let s:accents = {}