From c7773137ac274d58e7bd68d7c6bb67e6b7f272bf Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 2 Dec 2012 22:50:43 +0100 Subject: [PATCH] vimrc: Don't display unexpected 'fileencoding' for help files. --- vimrc | 1 + 1 file changed, 1 insertion(+) 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 '' -- 2.45.2