Bram Moolenaar wrote: > Dominique Pelle wrote: > >> 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). > > Vince did half a solution for that with the "hlc" variable. > I took some time to fix this. It's a bit of a hack. It works for the > help files, but it might fail with some other settings. Please check > with the updated version I just pushed..
It's better, but not perfect. Using ":help help.txt" and ":set column=8,78", I see that the cursor column at column 78 looks aligned, but the one at column 8 looks misaligned when it goes over links. I've put a screenshot here: http://dominique.pelle.free.fr/pic/help-colorcolumn=8,78-conceallevel=3.png I'm not even sure what's the expected behavior here: should we expect the colorcolumn to be always at column 8 on the screen, even with concealed items? -- Dominique -- 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
