On win7 x64 using VIM 7.4, I get an error with gVim upon reading the _vimrc, 
when Unicode chars are in the listchars section.  A simple example to trigger 
would read:

set listchars=eol:¶

I get an "Error detected...E474 Invalid argument: set listchars=eol:¶" popup 
error dialog.

(In case it doesn't show, the character after the ':' is the pilcrow (U+00B6) 
aka the paragraph mark, but any non-Ascii Unicode character yields the error)

I thought this would be ok as help docs say "UTF-8 characters can be used when 
'encoding' is "utf-8", otherwise only printable characters are allowed."

_vimrc 'encoding' and 'fileencoding' options are both UTF-8.  Running ':set 
fileencoding' and ':set encoding' with the _vimrc open both yield 
'[...]=utf-8'.  There is no BOM on the file, though a different Windows 
encoding checker utility also reads the file as UTF-8.

As a result of the error, listchars is set to the default (eol:$).  However, if 
I open and re-source the _vimrc (:so %), the file reads without error, and 
listchars is set to the appropriate settings, Unicode chars and all, and ':set 
list' works correctly.

Can anyone replicate this, or is this some conflict with something else in my 
_vimrc?  Or is this expected and I'm misunderstanding the functionality of 
listchars?

(As an aside, I'd also like to voice my approval for inclusion of the lcs space 
patch in the next version of Vim; it's easy for eyes to elide over empty space, 
so making them more visible is useful)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui