about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-24 10:23:49 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-24 10:23:49 -0700
commitd253de9f309cec128fdd42785664cc730eb9898d (patch)
tree182230f733dcb5e1c8bd9470f5758c19a57329d7 /cpp
parenta1d703b3c86c6842899acf0d5c6c0fe3536fa36f (diff)
downloadmu-d253de9f309cec128fdd42785664cc730eb9898d.tar.gz
1164
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