Hi meino.cramer! On Fr, 09 Mär 2012, [email protected] wrote:
> Hi, > > in exploring the 'what is what' in coloring vims display, I found > the next -- at least for me -- confusing item: > > Suppose one has loaded two files into vimdiff. Next one may recognize is, > that the coloring of the differences is in a waay, that the > text at that lines becomes unreadable. > > I such a case I used the hints I got from a previous thread :) > to identify the hgighlight group and it colors, which that > colors and found...gues what...nothing. > > The simpe text file has no syntax, therefore there is no > syntax highlightning, therefore there are no assigned colors... > but there are definetly the (wrong) colors. > > What command do I have to use to identify the according "highlightning > group" (or whatever I can make guilty for the inappropiate colors) ? Diff highlighting is separate from normal highlighting. Therefore the functions from your previous thread don't work. You need to use diff_hlID() to find the highlighting in this case. see :h diff_hlID() regards, Christian -- -- 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
