mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 14:20:15 +08:00
check detection in statusline, add some more unicode symbols to docs
This commit is contained in:
parent
e89e6ad27b
commit
5f24841533
|
@ -98,6 +98,8 @@ well as the powerline font glyths
|
|||
let g:airline_linecolumn_prefix = '¶ '
|
||||
let g:airline_fugitive_prefix = '⎇ '
|
||||
let g:airline_paste_symbol = 'ρ'
|
||||
let g:airline_paste_symbol = 'Þ'
|
||||
let g:airline_paste_symbol = '∥'
|
||||
|
||||
" powerline symbols
|
||||
let g:airline_left_sep = ''
|
||||
|
|
|
@ -116,7 +116,7 @@ function! s:update_statusline(active)
|
|||
|
||||
let sl = l:mode_color
|
||||
let sl.= a:active
|
||||
\ ? '%{AirlineUpdateHighlight()} '.g:airline_section_a.' %{&paste ? g:airline_paste_symbol." " : ""}'.l:mode_sep_color
|
||||
\ ? '%{AirlineUpdateHighlight()} '.g:airline_section_a.' %{g:airline_paste_detection && &paste ? g:airline_paste_symbol." " : ""}'.l:mode_sep_color
|
||||
\ : ' %#Al9#'
|
||||
let sl.='%{g:airline_left_sep}'.l:info_color
|
||||
let sl.=' '.g:airline_section_b.' '
|
||||
|
|
Loading…
Reference in New Issue
Block a user