add profiler. optimize separator highlighting.

This commit is contained in:
Bailey Ling
2013-08-17 17:35:06 +00:00
parent 47bfeee3ae
commit 3fbdd28e5d
7 changed files with 55 additions and 30 deletions

View File

@@ -0,0 +1,15 @@
" MIT License. Copyright (c) 2013 Bailey Ling.
" vim: et ts=2 sts=2 sw=2
function! airline#debug#profile()
profile start airline-profile.log
profile func *
profile file *
split
for i in range(1, 50)
wincmd w
redrawstatus
endfor
profile pause
noautocmd qall!
endfunction