1093 - little more vim support for the old arc version

This commit is contained in:
Kartik K. Agaram 2015-04-17 22:52:41 -07:00
parent 12169df8bf
commit b3cdcdd44f
2 changed files with 10 additions and 0 deletions

2
mu.vim
View File

@ -22,6 +22,8 @@ setlocal iskeyword=@,48-57,?,!,_,$,-
syntax match muComment /#.*$/ | highlight link muComment Comment
syntax match muSalientComment /##.*$/ | highlight link muSalientComment SalientComment
syntax match muComment /;.*$/ | highlight link muComment Comment
syntax match muSalientComment /;;.*$/ | highlight link muSalientComment SalientComment
set comments+=n:#
syntax match CommentedCode "#? .*"
let b:cmt_head = "#? "

View File

@ -1 +1,9 @@
syntax sync minlines=999
function! HighlightMuInArc()
set ft=mu
syntax keyword muHack begin | highlight link muHack CommentedCode
syntax match muHack "[()]" | highlight link muHack CommentedCode
endfunction
call HighlightMuInArc()
autocmd BufRead,BufNewFile *.mu call HighlightMuInArc()