Why not add ",(:),{:},[:]" to the end of b:match_words so that we take advantage of our knowledge of the language to skip parentheses and braces and so on inside comments? nikolai