Calling :AnsiEsc one time works OK. Calling it a second time breaks the color of status line.
For the status line, I'm using lightline plugin. Also tried with airline and it also breaks
I've managed to reproduce the issue with following minimal vimrc
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'itchyny/lightline.vim'
Plug 'powerman/vim-plugin-AnsiEsc'
call plug#end()
set laststatus=2
Calling :AnsiEsc 2 times breaks the status bar on second call.
Calling
:AnsiEscone time works OK. Calling it a second time breaks the color of status line.For the status line, I'm using lightline plugin. Also tried with airline and it also breaks
I've managed to reproduce the issue with following minimal
vimrcCalling
:AnsiEsc2 times breaks the status bar on second call.