about summary refs log tree commit diff stats
path: root/mu.vim
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-10 23:59:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-11 12:12:31 -0700
commit38f0b91af27a14e3673f531f63faa9ea1c1f07c1 (patch)
treed60bb14ec4bdeded5300cefc661b63468e73e87f /mu.vim
parentd472e0dd3a10787632f0b0ad35bf086b5d81ac9d (diff)
downloadmu-38f0b91af27a14e3673f531f63faa9ea1c1f07c1.tar.gz
1048
Diffstat (limited to 'mu.vim')
-rw-r--r--mu.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/mu.vim b/mu.vim
index ea1bcb42..63ee7bc0 100644
--- a/mu.vim
+++ b/mu.vim
@@ -20,10 +20,8 @@ set cpo&vim
 
 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 = "#? "
@@ -34,6 +32,8 @@ highlight link muString String
 syntax match muDelimiter "[{}\[\]]" | highlight link muDelimiter Delimiter
 syntax match muAssign "<-" | highlight link muAssign SpecialChar
 syntax match muAssign "\<raw\>"
-syntax keyword muFunc next-input input reply jump jump-if jump-unless loop loop-if loop-unless break-if break-unless | highlight link muFunc Function
+syntax keyword muControl reply jump jump-if jump-unless loop loop-if loop-unless break-if break-unless | highlight link muControl Function
+" common keywords
+syntax keyword muFunc recipe default-space next-ingredient ingredient before after scenario run memory trace screen keyboard stalled finished | highlight link muFunc Statement
 
 let &cpo = s:save_cpo