From c517316b09e35eee95cdae1b44f7c9357f9bddf6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 6 Apr 2015 12:07:00 -0700 Subject: 1025 - switch syntax highlighting to support c++ version --- mu.vim | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'mu.vim') 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 -- cgit 1.4.1-2-gfad0