test some commands

This commit is contained in:
Bailey Ling
2013-08-30 20:57:34 -04:00
parent 0548aeefcb
commit 54ec1f39ca
2 changed files with 27 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ endfunction!
function! airline#extensions#whitespace#toggle()
if s:enabled
autocmd! airline_whitespace CursorHold,BufWritePost
augroup! airline_whitespace
let s:enabled = 0
else
call airline#extensions#whitespace#init()