main: replace and virt replace mode should use same coloring

fixes #1794
This commit is contained in:
Christian Brabandt 2018-09-16 20:01:00 +02:00
parent bcd37fc115
commit a1c112cafd
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -151,7 +151,7 @@ function! airline#check_mode(winnr)
if l:m[0] ==# "i"
let l:mode = ['insert']
elseif l:m ==# "Rv"
let l:mode =['virtual replace']
let l:mode =['replace']
elseif l:m[0] ==# "R"
let l:mode = ['replace']
elseif l:m[0] =~# '\v(v|V||s|S|)'