move paste detection into statusline and check enabled

This commit is contained in:
Bailey Ling committed 2013-07-25 22:09:17 +00:00
1 parent 8819ab272d
commit ec86f66510
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ function! s:init()
call airline#extensions#load()
call airline#update_externals()
call airline#load_theme(g:airline_theme)
call s:check_defined('g:airline_section_a', '%{g:airline_current_mode_text} %{&paste ? g:airline_paste_symbol." " : ""}')
call s:check_defined('g:airline_section_a', '%{g:airline_current_mode_text}')
call s:check_defined('g:airline_section_b', '%{g:airline_externals_fugitive}')
call s:check_defined('g:airline_section_c', g:airline_externals_bufferline)
call s:check_defined('g:airline_section_gutter', '')