2

I've recently delved into taking an existing colorscheme and customizing it to my liking. While doing this however, I found there was a highlight option for special comments and I'm not sure exactly what that refers to.

Here's the exact line if it helps:

hi SpecialComment ctermfg=66 gui=bold guifg=#5f8787
  • 2
    :helpgrep SpecialComment – romainl Aug 12 '15 at 18:59
  • @romainl special things inside a comment which is that result isn't really any more helpful. – Dom Aug 12 '15 at 19:03
  • Yes it is helpful: it tells you that you shouldn't worry about it. – romainl Aug 12 '15 at 19:19
  • @Dom ever used a TODO or FIXME in a comment? – muru Aug 12 '15 at 20:11
  • 1
    @Dom Ah. Yes. Ok, I went looking and it seems Josh is right. There was no usage of SpecialComment in syntastic, and of the stuff shipped by my distro (Ubuntu 14.04, SpecialComments were used by only a few major syntax files - vim, Java (Javadoc comment headers), Haskell (pragmas), and some more. – muru Aug 12 '15 at 20:47
3

SpecialComment is not one of the default highlighting groups (see :help highlighting-groups). It is a suggested group name for "special things inside a comment" (see :help group-name) (a minor group).

What constitutes "special" is left open to interpretation; scanning the default runtime files, it's generally used to identify things like Doxygen tags inside comments, header or similar notational structure items inside comments, and so on. The specific meaning varies for the individual syntax file, basically.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.