From 56ad2f8c242d2e7f5237c42a7fcb547b459d8668 Mon Sep 17 00:00:00 2001 From: Tim Brooks Date: Mon, 8 Jul 2013 12:50:10 +0100 Subject: [PATCH] Added replace mode extension --- autoload/airline.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline.vim b/autoload/airline.vim index 495bafb4..c6bfac43 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -136,6 +136,9 @@ function! airline#update_highlight() if &paste call add(l:mode, 'paste') endif + if l:m ==# "R" + call add(l:mode, 'replace') + endif if &previewwindow call add(l:mode, 'preview') endif