Hi, Here is a nice little trick to make vim highlight comments containing doxygen @todo tags:
mkdir -p ~/.vim/after/syntax vim ~/.vim/after/syntax/c.vim then paste these lines in: setlocal iskeyword+=@-@ syn keyword cAtTodo @todo contained syn cluster cCommentGroup add=cAtTodo hi def link cAtTodo cTodo To explain: first line enables words starting with @ to be keywords second line defines @todo to be a keyword third line adds cAtTodo to the already defined cluster group for keywords contained in comments last line enables the same highlight for @todo as for TODO /Ciprian _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
