Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dont show empty brackets when theres no &fenc
  • Loading branch information
Martin Grenfell committed Feb 1, 2009
1 parent 3c8c0ff commit 410f2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Expand Up @@ -27,7 +27,7 @@ set statusline+=%*


"display a warning if file encoding isnt utf-8 "display a warning if file encoding isnt utf-8
set statusline+=%#warningmsg# set statusline+=%#warningmsg#
set statusline+=%{&fenc!='utf-8'?'['.&fenc.']':''} set statusline+=%{(&fenc!='utf-8'&&&fenc!='')?'['.&fenc.']':''}
set statusline+=%* set statusline+=%*


set statusline+=%h "help file flag set statusline+=%h "help file flag
Expand Down

0 comments on commit 410f2f9

Please sign in to comment.