rename csv variables, add extensions section for doc

This commit is contained in:
Bailey Ling
2013-08-13 21:47:08 -04:00
parent 944ed9a8b9
commit 509c9f68a9
3 changed files with 19 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
function! airline#extensions#csv#get_statusline()
if &ft ==# "csv" && exists("*CSV_WCol")
if exists("g:airline_filetype_csv") && g:airline_filetype_csv ==# 'Name'
if get(g:, 'airline#extensions#csv#column_identify', '') ==# 'Name'
return '['.CSV_WCol('Name').CSV_WCol().']'
else
return '['.CSV_WCol().']'