mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-28 20:42:17 +08:00
Remove trailing whitespace
This commit is contained in:
@@ -32,7 +32,7 @@ function! airline#init#bootstrap()
|
||||
call s:check_defined('g:airline_exclude_filetypes', [])
|
||||
call s:check_defined('g:airline_exclude_preview', 0)
|
||||
|
||||
" If g:airline_mode_map_codes is set to 1 in your .vimrc it will display
|
||||
" If g:airline_mode_map_codes is set to 1 in your .vimrc it will display
|
||||
" only the modes' codes in the status line. Refer :help mode() for codes.
|
||||
" That may be a preferred presentation because it is minimalistic.
|
||||
call s:check_defined('g:airline_mode_map_codes', 0)
|
||||
@@ -45,7 +45,7 @@ function! airline#init#bootstrap()
|
||||
" \ 'Rv' : 'VIRTUAL REPLACE',
|
||||
" \ 'niV' : 'VIRTUAL REPLACE (NORMAL)',
|
||||
" \ }
|
||||
" ...would override 'Rv' and 'niV' below respectively.
|
||||
" ...would override 'Rv' and 'niV' below respectively.
|
||||
call extend(g:airline_mode_map, {
|
||||
\ '__' : '------',
|
||||
\ 'n' : 'NORMAL',
|
||||
@@ -78,16 +78,16 @@ function! airline#init#bootstrap()
|
||||
\ '!' : 'SHELL',
|
||||
\ 't' : 'TERMINAL',
|
||||
\ 'multi' : 'MULTI',
|
||||
\ }, 'keep')
|
||||
" NB: no*, cv, ce, r? and ! do not actually display
|
||||
\ }, 'keep')
|
||||
" NB: no*, cv, ce, r? and ! do not actually display
|
||||
else
|
||||
" Exception: The control character in ^S and ^V modes' codes
|
||||
" break the status line if allowed to render 'naturally' so
|
||||
" Exception: The control character in ^S and ^V modes' codes
|
||||
" break the status line if allowed to render 'naturally' so
|
||||
" they are overridden with ^ (when g:airline_mode_map_codes = 1)
|
||||
call extend(g:airline_mode_map, {
|
||||
\ '' : '^V',
|
||||
\ '' : '^S',
|
||||
\ }, 'keep')
|
||||
\ }, 'keep')
|
||||
endif
|
||||
|
||||
call s:check_defined('g:airline_theme_map', {})
|
||||
|
||||
Reference in New Issue
Block a user