From: Simon Ruderich Date: Sun, 2 Dec 2012 21:50:43 +0000 (+0100) Subject: vimrc: Don't display unexpected 'fileencoding' for help files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c7773137ac274d58e7bd68d7c6bb67e6b7f272bf;p=config%2Fdotfiles.git vimrc: Don't display unexpected 'fileencoding' for help files. --- diff --git a/vimrc b/vimrc index 7cf7362..306e838 100644 --- a/vimrc +++ b/vimrc @@ -397,6 +397,7 @@ if has('statusline') endfunction function! s:StatuslineFileEncoding() if &fileencoding != '' && &fileencoding != 'utf-8' + \ && &filetype != 'help' return '[' . &fileencoding . ']' else return ''