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.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/vimrc.vim b/cpp/vimrc.vim
index eae812c9..382c51fe 100644
--- a/cpp/vimrc.vim
+++ b/cpp/vimrc.vim
@@ -24,6 +24,9 @@ function! HighlightTangledFile()
   " the generated .cc file. They're highlighted same as regular comments.
   syntax match tangledComment /\/\/:.*/ | highlight link tangledComment Comment
   syntax match tangledSalientComment /\/\/::.*/ | highlight link tangledSalientComment SalientComment
+  " Include some bare-bones mu highlighting even in the C++ sources.
+  syntax match muAssign " <- " | highlight link muAssign SpecialChar
+  syntax match muAssign "\<raw\>"
 endfunction
 call HighlightTangledFile()
 autocmd BufRead,BufNewFile *.mu set ft=mu