move paste symbol variable into extension, update docs.
This commit is contained in:
parent
8bc08979d7
commit
e4a0fe1d9c
|
@ -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 : ''
|
||||
|
|
|
@ -121,9 +121,9 @@ separators, as well as the powerline font glyths.
|
|||
let g:airline_linecolumn_prefix = ' '
|
||||
let g:airline_linecolumn_prefix = '¶ '
|
||||
let g:airline#extensions#branch#symbol = '⎇ '
|
||||
let g:airline_paste_symbol = 'ρ'
|
||||
let g:airline_paste_symbol = 'Þ'
|
||||
let g:airline_paste_symbol = '∥'
|
||||
let g:airline#extensions#paste#symbol = 'ρ'
|
||||
let g:airline#extensions#paste#symbol = 'Þ'
|
||||
let g:airline#extensions#paste#symbol = '∥'
|
||||
let g:airline#extensions#whitespace#symbol = 'Ξ'
|
||||
|
||||
" powerline symbols
|
||||
|
|
|
@ -20,7 +20,6 @@ call s:check_defined('g:airline_detect_iminsert', 0)
|
|||
call s:check_defined('g:airline_detect_modified', 1)
|
||||
call s:check_defined('g:airline_detect_paste', 1)
|
||||
call s:check_defined('g:airline_linecolumn_prefix', exists('g:airline_powerline_fonts')?' ':':')
|
||||
call s:check_defined('g:airline_paste_symbol', (exists('g:airline_powerline_fonts') ? ' ' : '').'PASTE')
|
||||
call s:check_defined('g:airline_inactive_collapse', 1)
|
||||
call s:check_defined('g:airline_exclude_filenames', ['DebuggerWatch','DebuggerStack','DebuggerStatus'])
|
||||
call s:check_defined('g:airline_exclude_filetypes', [])
|
||||
|
|
Loading…
Reference in New Issue