1093 - little more vim support for the old arc version
This commit is contained in:
parent
12169df8bf
commit
b3cdcdd44f
2
mu.vim
2
mu.vim
|
@ -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 = "#? "
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue