On 17/07/10 20:32, Dominique Pellé wrote:
Hi

The new 'colorcolumn' feature looks ugly (misaligned colorcolumn) when
using concealed items. The following 2 screenshots show ":help help.txt"
with:

:set colorcolumn=79 conceallevel=0  (looks OK)
:set colorcolumn=79 conceallevel=3  (looks BAD)

http://dominique.pelle.free.fr/pic/help-conceallevel=0.png  (looks OK)
http://dominique.pelle.free.fr/pic/help-conceallevel=3.png  (looks BAD)

It's arguable whether it's a bug or not, but it does not look good.
The same kind of problem also happens with ":set cursorcolumn".

Should we live with it or should behavior be changed?
I'm using Vim-7.3a (2327:15379284e55a).

Regards
-- Dominique


I think it's a question of having your cake and eating it, or in French, "le beurre et l'argent du beurre": when 'conceallevel' is other than zero, "concealed" items will remove part of the lines where they appear, thus misaligning both 'colorcolumn' and 'cursorcolumn'. If you don't want the effect, either disable concealing by forcing 'conceallevel' to zero, or disable column highlighting by setting 'cursorcolumn' to FALSE and 'colorcolumn' to empty, or redefining their respective highlight groups to ctermbg=bg guibg=bg


Best regards,
Tony.
--
At any given moment, an arrow must be either where it is or where it is
not.  But obviously it cannot be where it is not.  And if it is where
it is, that is equivalent to saying that it is at rest.
                -- Zeno's paradox of the moving (still?) arrow

--
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

Raspunde prin e-mail lui