Re: display of listchars characters on the cursorline & visual-mode
489 views
Skip to first unread message
Ingo Karkat
unread,
May 2, 2013, 9:37:48 AM5/2/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
On 30-Apr-2013 06:38 +0200, nayuri.aohime wrote:
> Hi,
>
> Fixed the display of listchars characters on the cursorline & visual-mode.
> I've created a patch of two patterns.
> I should not be judged because it is personal preference.
>
> SpecialKey_overrides_CursorLine.patch
> -> Every highlighting listchars chatscters.
>
> CursorLine_overrides_SpecialKey.patch
> -> Easy to use because it is similar to the current version.
>
> comparison.png
> -> Please refer.
> It is a comparison image in the following settings.
> :colorscheme delek
> :set cursorline list listchars=eol:$,tab:>-,trail:~,nbsp:%
>
> I prefer the CursorLine_overrides_SpecialKey.patch version.
+1 from me; I also think the CursorLine_overrides_SpecialKey.patch is
better. Thank you for including the graphical comparison; that's really
helpful!
Though purely cosmetic, this issue is indeed disturbing people; e.g. see
the following Stack Overflow questions about this:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
2013年5月2日木曜日 22時37分48秒 UTC+9 Ingo Karkat:
Hi,
I've found a bug in the previous patch, but fixed.
Contents of the bug are:
* set list listchars=eol:$ conceallevel=1 concealcursor=nvic
* syntax match NonText / / conceal cchar=.
* Insert space(0x20), not displayed eol character.
SpecialKey_overrides_CursorLine_ver2.patch
-> Every highlighting listchars chatscters & conceal characters.
CursorLine_overrides_SpecialKey_ver2.patch
-> Easy to use because it is similar to the current version.
This patches is ConcealCharacters will be treated the same as SpecialKey.
Make the other versions it is easy.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mattn, vim...@googlegroups.com
Thanks. I can't find an item in the todo list for this, did one exist?
--
The chat program is in public domain. This is not the GNU public license.
If it breaks then you get to keep both pieces.
-- Copyright notice for the chat program
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_dev
I wonder if this is ever going to make it to a release? This is the most annoying thing in Vim for me.
Christian Brabandt
unread,
Jan 31, 2016, 4:52:46 AM1/31/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_dev
Hi Rafael!
This is not a simple patch and it is hard to follow the logic. screen.c
changes are definitely messy and have in the past often broken something
in the past. So can you please tell us, what bug this fixes? Also tests
would be really appreciated ;)