#!/usr/bin/vim -S
if has('multibyte')
	if empty(&encoding)
		call writefile(['&encoding option value is empty, even though Vim has +multibyte'], 'message.fail')
		cquit
	endif
	qall
endif
if !empty(&encoding)
	call writefile(['&encoding option value is not empty, even though Vim does not have +multibyte'], 'message.fail')
	cquit
endif

let g:powerline_config_paths = [expand('<sfile>:p:h:h') . '/powerline/config_files']

try
	source powerline/bindings/vim/plugin/powerline.vim
catch
	call writefile(['Unexpected exception:', v:exception], 'message.fail')
	cquit
endtry
set ls=2
redrawstatus!
redir => g:messages
	messages
redir END
let mess=split(g:messages, "\n")
if len(mess)>1
	call writefile(['Unexpected message(s):']+mess, 'message.fail')
	cquit
endif
qall!

#!/usr/bin/vim -S
if has('multi_byte')
	if empty(&encoding)
		call writefile(['&encoding option value is empty, even though Vim has +multibyte'], 'message.fail')
		cquit
	endif
	qall
endif
if !empty(&encoding)
	call writefile(['&encoding option value is not empty, even though Vim does not have +multibyte'], 'message.fail')
	cquit
endif

let g:powerline_config_paths = [expand('<sfile>:p:h:h') . '/powerline/config_files']

try
	source powerline/bindings/vim/plugin/powerline.vim
catch
	call writefile(['Unexpected exception:', v:exception], 'message.fail')
	cquit
endtry
set ls=2
redrawstatus!
redir => g:messages
	messages
redir END
let mess=split(g:messages, "\n")
if len(mess)>1
	call writefile(['Unexpected message(s):']+mess, 'message.fail')
	cquit
endif
qall!

Fix typo in multi_byte feature name
Fix typo in multi_byte feature name

lukw00/powerline,blindFS/powerline,cyrixhero/powerline,blindFS/powerline,S0lll0s/powerline,junix/powerline,s0undt3ch/powerline,cyrixhero/powerline,prvnkumar/powerline,Luffin/powerline,IvanAli/powerline,xfumihiro/powerline,darac/powerline,seanfisk/powerline,DoctorJellyface/powerline,Liangjianghao/powerline,S0lll0s/powerline,kenrachynski/powerline,kenrachynski/powerline,EricSB/powerline,lukw00/powerline,EricSB/powerline,QuLogic/powerline,junix/powerline,prvnkumar/powerline,areteix/powerline,xxxhycl2010/powerline,xxxhycl2010/powerline,Liangjianghao/powerline,Luffin/powerline,bezhermoso/powerline,Luffin/powerline,russellb/powerline,dragon788/powerline,EricSB/powerline,xfumihiro/powerline,lukw00/powerline,russellb/powerline,cyrixhero/powerline,QuLogic/powerline,blindFS/powerline,darac/powerline,seanfisk/powerline,s0undt3ch/powerline,russellb/powerline,s0undt3ch/powerline,Liangjianghao/powerline,S0lll0s/powerline,bezhermoso/powerline,bezhermoso/powerline,dragon788/powerline,seanfisk/powerline,dragon788/powerline,xfumihiro/powerline,prvnkumar/powerline,areteix/powerline,junix/powerline,kenrachynski/powerline,darac/powerline,IvanAli/powerline,areteix/powerline,DoctorJellyface/powerline,QuLogic/powerline,IvanAli/powerline,xxxhycl2010/powerline,DoctorJellyface/powerline