about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/vimrc.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/vimrc.vim b/cpp/vimrc.vim
index 627bfc8a..c666d258 100644
--- a/cpp/vimrc.vim
+++ b/cpp/vimrc.vim
@@ -19,6 +19,7 @@ function! HighlightTangledFile()
   " regular comments.
   syntax match muComment /#.*$/ | highlight link muComment Comment
   syntax match muSalientComment /##.*$/ | highlight link muSalientComment SalientComment
+  syntax match muCommentedCode /#? .*$/ | highlight link muCommentedCode CommentedCode
   " Tangled comments only make sense in the sources and are stripped out of
   " the generated .cc file. They're highlighted same as regular comments.
   syntax match tangledComment /\/\/:.*/ | highlight link tangledComment Comment