diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:56:07 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-22 16:56:07 -0700 |
commit | 9a81d7460fdb16f4e77712e5381d9db8781f5ae6 (patch) | |
tree | 43b05169535fe33e65ecbf61f3fb3ada5f75ed52 /mu.vim | |
parent | 22f4b76344b2d639cbfcaad56ed681670d436548 (diff) | |
download | mu-9a81d7460fdb16f4e77712e5381d9db8781f5ae6.tar.gz |
3561
Diffstat (limited to 'mu.vim')
-rw-r--r-- | mu.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mu.vim b/mu.vim index 9d0ce033..6929c8b2 100644 --- a/mu.vim +++ b/mu.vim @@ -20,7 +20,7 @@ set cpo&vim "? let b:syntax = "mu" setlocal iskeyword=@,48-57,?,!,_,$,- -setlocal formatoptions-=t " mu programs have long lines +setlocal formatoptions-=t " Mu programs have long lines setlocal formatoptions+=c " but comments should still wrap syntax match muComment /#.*$/ | highlight link muComment Comment @@ -31,16 +31,16 @@ set comments+=n:# syntax match CommentedCode "#? .*" let b:cmt_head = "#? " -" mu strings are inside [ ... ] and can span multiple lines +" Mu strings are inside [ ... ] and can span multiple lines " don't match '[' at end of line, that's usually code syntax region muString start=+\[[^\]]+ end=+\]+ syntax match muString "\[\]" highlight link muString String -" mu syntax for representing the screen in scenarios +" Mu syntax for representing the screen in scenarios syntax region muScreen start=+ \.+ end=+\.$\|$+ highlight link muScreen muString -" mu literals +" Mu literals syntax match muLiteral %[^ ]\+:literal/[^ ,]*\|[^ ]\+:literal\>% syntax match muLiteral %\<[0-9-]\?[0-9]\+\>% syntax match muLiteral %\<[0-9-]\?[0-9]\+/[^ ,]*% |