Nice separator when not using powerline.

Sun, 31 Jan 2016 21:48:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 31 Jan 2016 21:48:17 -0500
changeset 252
e5f59db6e92a
parent 251
308d12c05585
child 253
a1accbd675a0

Nice separator when not using powerline.

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -380,6 +380,7 @@ autocmd FileType vimfiler nmap <buffer> 
 
 ">> Airline
 let g:airline#extensions#whitespace#enabled = 0
+let g:airline_powerline_fonts = 0
 
 "keep bufferline from writing into the command line
 let g:bufferline_echo = 0
@@ -439,6 +440,11 @@ try
 catch
 endtry
 
+if g:airline_powerline_fonts == 0 && $LANG =~ 'UTF-8'
+  let g:airline_left_sep  = '▒'
+  let g:airline_right_sep = g:airline_left_sep
+endif
+
 if has('gui_running')
   set number
   set background=dark

mercurial