diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-04 21:24:46 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-04 21:24:46 -0700 |
commit | 00af72ccb0d342feda053191793678e41548ee72 (patch) | |
tree | 08fa95922e6052f87c8af7f5a4351af61cd1a56f /mu.vim | |
parent | fbe6797c2ccb1e782ee3e0dd37c0310b8bb937e1 (diff) | |
download | mu-00af72ccb0d342feda053191793678e41548ee72.tar.gz |
6951 - 4 colors for Mu as well
Diffstat (limited to 'mu.vim')
-rw-r--r-- | mu.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mu.vim b/mu.vim index d0c2574b..674c0712 100644 --- a/mu.vim +++ b/mu.vim @@ -27,8 +27,11 @@ setlocal iskeyword=@,48-57,?,!,_,$,- setlocal formatoptions-=t " Mu programs have long lines setlocal formatoptions+=c " but comments should still wrap -syntax match muComment /#.*$/ | highlight link muComment Comment syntax match muSalientComment /##.*$/ | highlight link muSalientComment SalientComment +syntax match muComment /#\( \.\| - \|? \)\@!.*/ | highlight link muComment Comment +syntax match muS1Comment /# \..*/ | highlight link muS1Comment Comment +syntax match muS2Comment /# \. \..*/ | highlight link muS2Comment Comment + set comments+=n:# syntax match muCommentedCode "#? .*" | highlight link muCommentedCode CommentedCode let b:cmt_head = "#? " |