about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/subx.vim1
-rw-r--r--vimrc.vim3
2 files changed, 2 insertions, 2 deletions
diff --git a/subx/subx.vim b/subx/subx.vim
index 41026cea..8bdeec7b 100644
--- a/subx/subx.vim
+++ b/subx/subx.vim
@@ -17,6 +17,7 @@ setlocal formatoptions+=c  " but comments should still wrap
 
 syntax match subxComment /#.*$/  | highlight link subxComment Comment
 syntax match subxSalientComment /##.*$/  | highlight link subxSalientComment SalientComment
+set comments-=:#
 set comments+=n:#
 syntax match subxCommentedCode "#? .*"  | highlight link subxCommentedCode CommentedCode
 let b:cmt_head = "#? "
diff --git a/vimrc.vim b/vimrc.vim
index 9618a44b..08ab8f13 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -19,8 +19,7 @@ function! HighlightTangledFile()
 
   " Our C++ files can have Mu code in scenarios, so highlight Mu comments like
   " regular comments.
-  syntax match muComment /# .*$/
-  syntax match muComment /#: .*$/
+  syntax match muComment /#.*$/
   highlight link muComment Comment
   syntax match muSalientComment /##.*$/ | highlight link muSalientComment SalientComment
   syntax match muCommentedCode /#? .*$/ | highlight link muCommentedCode CommentedCode