From 5f323a5bb7ee5b8a4de2f74ba6ab3e62bba4315b Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 7 Jul 2013 15:48:44 +0000 Subject: [PATCH] use powerline separator for paste symbol if available --- plugin/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index a70e6e9..fb03c42 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -16,7 +16,7 @@ call s:check_defined('g:airline_enable_syntastic', 1) call s:check_defined('g:airline_fugitive_prefix', exists('g:airline_powerline_fonts')?' ':'') call s:check_defined('g:airline_readonly_symbol', exists('g:airline_powerline_fonts')?'':'RO') call s:check_defined('g:airline_linecolumn_prefix', exists('g:airline_powerline_fonts')?' ':':') -call s:check_defined('g:airline_paste_symbol', 'PASTE') +call s:check_defined('g:airline_paste_symbol', (exists('g:airline_powerline_fonts') ? ' ' : '').'PASTE') call s:check_defined('g:airline_theme', 'dark') call s:check_defined('g:airline_exclude_filenames', ['DebuggerWatch','DebuggerStack','DebuggerStatus']) call s:check_defined('g:airline_exclude_filetypes', ['netrw','diff','undotree','gundo','nerdtree','tagbar'])