about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-18 00:01:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-18 00:01:15 -0700
commit2d938a1c362f82d27aeff55a11991bf522f3308e (patch)
treedb21a9cd21d3b1bc3be9ebeb345f8317d575cbc6
parent7284d503f67572dab678f68e5635c471a9d53480 (diff)
downloadmu-2d938a1c362f82d27aeff55a11991bf522f3308e.tar.gz
1095
-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