From e93fe44703c94cb46345fccb6b4fe1e81a02388c Mon Sep 17 00:00:00 2001 From: itchyny Date: Fri, 23 Aug 2013 00:04:48 +0900 Subject: [PATCH] 'no ft' in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb23a60..c9c1853 100644 --- a/README.md +++ b/README.md @@ -331,7 +331,7 @@ Here's my setting. I use the patched font for vim-powerline. return winwidth('.') > 60 ? &fileformat : '' endfunction function! MyFiletype() - return winwidth('.') > 60 ? &filetype: '' + return winwidth('.') > 60 ? (strlen(&filetype) ? &filetype : 'no ft') : '' endfunction function! MyFileencoding() return winwidth('.') > 60 ? (strlen(&fenc) ? &fenc : &enc) : ''