Tuesday, April 15, 2014

Re: my invisible characters are not displayed properly

Hi,

FlashBurn wrote:
> For some reason my invisible characters are not displayed properly. I
> have to source my vimrc a second time for the 'list' setting to work.
>
> Here is my setting for 'listchars'
> set listchars=tab:►\ ,eol:¬,trail:●
>
> The results of the invisibles not being displayed is in the attached
> file called invisibles_wrong.jpg.
>
> If I source my vimrc again, everything is working. You can see the
> result in the attached imaged called invisibles_right.jpg
>
> Can anyone explain why this is happening?

in your .vimrc encoding is probably set to utf-8 only after listchars
is set. Move the line with

set encoding=utf-8

before the one with

set listchars=tab:►\ ,eol:¬,trail:●

and it should work correctly.

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: