about summary refs log tree commit diff stats
path: root/mu.vim
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-06 12:07:00 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-06 12:07:00 -0700
commitc517316b09e35eee95cdae1b44f7c9357f9bddf6 (patch)
treecdc1dff3c3bcf16d14b2349be471e81a19cc7dc7 /mu.vim
parentad8e984fd4590740cb6dc23e951848108f671aac (diff)
downloadmu-c517316b09e35eee95cdae1b44f7c9357f9bddf6.tar.gz
1025 - switch syntax highlighting to support c++ version
Diffstat (limited to 'mu.vim')
-rw-r--r--mu.vim11
1 files changed, 5 insertions, 6 deletions
diff --git a/mu.vim b/mu.vim
index a51386e9..ea1bcb42 100644
--- a/mu.vim
+++ b/mu.vim
@@ -20,14 +20,13 @@ set cpo&vim
 
 setlocal iskeyword=@,48-57,?,!,_,$,-
 
-syntax match muComment /;.*$/
+syntax match muComment /#.*$/
 highlight link muComment Comment
-syntax match muSalientComment /;;.*$/
+syntax match muSalientComment /##.*$/
 highlight link muSalientComment SalientComment
-set comments-=:;
-set comments+=n:;
-syntax match CommentedCode ";? .*"
-let b:cmt_head = ";? "
+set comments+=n:#
+syntax match CommentedCode "#? .*"
+let b:cmt_head = "#? "
 
 syntax region muString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@Spell
 highlight link muString String