implement customizable file name formatting (#230).

This commit is contained in:
Bailey Ling
2013-09-06 21:50:06 +00:00
parent b636c28ae2
commit 7a2f6525c3
3 changed files with 18 additions and 5 deletions
+2 -1
View File
@@ -19,10 +19,11 @@ function! airline#deprecation#check()
\ [ 'g:airline_enable_branch', 'g:airline#extensions#branch#enabled' ],
\ [ 'g:airline_enable_bufferline', 'g:airline#extensions#bufferline#enabled' ],
\ [ 'g:airline_enable_syntastic', 'g:airline#extensions#syntastic#enabled' ],
\ [ 'g:airline#extensions#tabline#fnamemod', 'g:airline#extensions#tabline#fnamefunc' ],
\ ]
for test in tests
if exists(test[0])
echom printf('The variable %s is deprecated and may not work in the future. It has been replaced with %s', test[0], test[1])
echom printf('The variable %s is deprecated and may not work in the future. It has been replaced with %s. Please read the documentation.', test[0], test[1])
endif
endfor
endfunction