Created
June 14, 2018 15:58
-
-
Save nakal/611f623dfcd450696653b1e6616b90db to your computer and use it in GitHub Desktop.
How to add custom syntax highlighting to C comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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