redefine ffenc as a function (#235).

This commit is contained in:
Bailey Ling
2013-09-07 18:14:41 +00:00
parent dbd9121c05
commit 697e08a83c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -61,3 +61,7 @@ function! airline#parts#filetype()
return &filetype
endfunction
function! airline#parts#ffenc()
return printf('%s%s', &fenc, strlen(&ff) > 0 ? '['.&ff.']' : '')
endfunction