You are not logged in.

#1 2016-03-30 11:58:00

gray_-_wolf
Member
Registered: 2016-03-30
Posts: 23

[SOLVED]vim: E595: contains unprintable or wide character: showbreak=↪

Hey guys,
I'm having problems with getting vim to display UTF-8 characters. Error message I get is:

Error detected while processing /home/wolfie/.vimrc:
line   67:
E595: contains unprintable or wide character: showbreak=↪

My .vimrc:

	scriptencoding utf-8

	" Forget being compatible with good ol' vi
	set nocompatible

	filetype off
	set rtp+=~/.vim/bundle/Vundle.vim
	call vundle#begin('~/.vim/vundle')

	Bundle 'Lokaltog/vim-easymotion'
	Bundle 'jamessan/vim-gnupg'

	call vundle#end()

	let g:UltiSnipsExpandTrigger="<tab>"
	let g:UltiSnipsJumpForwardTrigger="<c-b>"
	let g:UltiSnipsJumpBackwardTrigger="<c-z>"

	set hls
	set is
	set ignorecase
	set smartcase

	" Why is this not a default
	set hidden

	" Don't update the display while executing macros
	set lazyredraw

	" At least let yourself know what mode you're in
	set showmode

	" Enable enhanced command-line completion. Presumes you have compiled
	" with +wildmenu.  See :help 'wildmenu'
	set wildmenu

	set scrolloff=5

	set wildmode=longest,list

	set backspace=indent,eol,start

	if has('mouse')
	  set mouse=a
	endif

	set nobackup

	syntax enable
	set bg=dark

	set autoindent

	set tabstop=4
	set shiftwidth=4
	set softtabstop=4

	set ff=unix

	set tags=tags;

	set showbreak=↪

	set relativenumber
	set number

	colors molokai

	set exrc            " enable per-directory .vimrc files
	set secure          " disable unsafe commands in local .vimrc files

	" Get that filetype stuff happening
	filetype on
	filetype plugin on
	filetype indent on

	" Turn on that syntax highlighting
	syntax on

My terminal supports UTF-8. I've tried adding `set enc=utf-8` to top of the .vimrc, didn't help. My locale is en_US.UTF-8.

Weird thing is, that this same .vimrc works on my other computers and they really should be different.

Does anyone has any tips where to look or what more additional info should I post?

Thanks for help

Last edited by gray_-_wolf (2016-03-30 13:23:00)

Offline

#2 2016-03-30 12:26:33

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]vim: E595: contains unprintable or wide character: showbreak=↪

What is the actual problem, what are you seeing / not seeing?  Are your other computers also running Arch Linux?  Also, please use code tags as it makes configs etc. easier to read.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2016-03-30 12:49:57

gray_-_wolf
Member
Registered: 2016-03-30
Posts: 23

Re: [SOLVED]vim: E595: contains unprintable or wide character: showbreak=↪

Actual problem is that Vim (GVim neither) doesn't display UTF-8 characters beyond one byte lenght. Also line break symbol as set by `showbreak` is not used, I just don't have any. I added error message I get into original post:

Error detected while processing /home/wolfie/.vimrc:
line   67:
E595: contains unprintable or wide character: showbreak=↪

Yes, both machines are running archlinux.

I added code tags into OP, sorry about that.

Last edited by gray_-_wolf (2016-03-30 12:50:15)

Offline

#4 2016-03-30 13:12:56

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED]vim: E595: contains unprintable or wide character: showbreak=↪

FWIW, I can reproduce the issue with vim 7.4.1639-1. What OS/distro are your other computers running? Which Vim version is installed on them?

Offline

#5 2016-03-30 13:22:05

gray_-_wolf
Member
Registered: 2016-03-30
Posts: 23

Re: [SOLVED]vim: E595: contains unprintable or wide character: showbreak=↪

Oh, different Vim versions. Didn't notice, stupid me. Will report a bug. Thanks guys

Offline

Board footer

Powered by FluxBB