]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Don't display unexpected 'fileencoding' for help files.
authorSimon Ruderich <simon@ruderich.org>
Sun, 2 Dec 2012 21:50:43 +0000 (22:50 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 2 Dec 2012 21:50:43 +0000 (22:50 +0100)
vimrc

diff --git a/vimrc b/vimrc
index 7cf73622c75318ddc72552589d4395aa5d1640f3..306e838615498c0975fefa448bdb7b7e524dea24 100644 (file)
--- 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 ''