First, you could use :verbose highlight GROUP_NAME to identify what you're look for. For example, ":verbose highlight DiffChange" will tell you the definition of it and where it was set last.
And, you may be interesting in $VIMRUNTIME/syntax/nosyntax.vim and synload.vim. You could find their usage in vim help via :h syntax-loading . On Fri, Mar 9, 2012 at 11:27 AM, <[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) ? > > Best regard, > mcc > > > > -- > 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 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
