mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
add profiler. optimize separator highlighting.
This commit is contained in:
15
autoload/airline/debug.vim
Normal file
15
autoload/airline/debug.vim
Normal 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
|
||||
Reference in New Issue
Block a user