Skip to content

conflict with lightline&airline: AnsiEsc breaking status line #23

@miguel9554

Description

@miguel9554

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions