move paste symbol variable into extension, update docs.

This commit is contained in:
Bailey Ling
2013-08-20 23:16:39 +00:00
parent 8bc08979d7
commit e4a0fe1d9c
3 changed files with 4 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
" vim: et ts=2 sts=2 sw=2
let s:symbol = get(g:, 'airline#extensions#paste#symbol',
\ get(g:, 'airline_paste_symbol', ''))
\ get(g:, 'airline_paste_symbol', (exists('g:airline_powerline_fonts') ? ' ' : '').'PASTE'))
function! airline#extensions#paste#get_mark()
return &paste ? ' ' . s:symbol : ''