about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
href='#n101'>101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119