about summary refs log tree commit diff stats
path: root/mu.vim
diff options
context:
space:
mode:
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