Skip to content

Instantly share code, notes, and snippets.

@nakal
Created Jun 14, 2018
Embed
What would you like to do?
How to add custom syntax highlighting to C comments
syntax match CustomTodo '\(REMOVE\|FIX\|COMPLETE\|CHECK\)ME'
syntax cluster cCommentGroup add=CustomTodo
highlight CustomTodo ctermbg=yellow guibg=yellow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment