In vim, how do I highlight TODO: and FIXME:?
Well, you’ve already found the problem, but here’s the why. There are three basic types of syntax matching: keywords, matches, and regions. Keywords are fixed strings, generally used for basic language keywords (int, double, …) and also, in your case, for the FIXME and TODO. I really do mean fixed strings; they have to be … Read more