about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--mu.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/mu.vim b/mu.vim
index 8f866c7a..22c175af 100644
--- a/mu.vim
+++ b/mu.vim
@@ -51,7 +51,7 @@ syntax match muAssign "<-"
 highlight link muAssign SpecialChar
 
 " common keywords
-syntax match muControl "^return\>\| return\>"
+syntax match muControl "\<return\>\|\<return-if[^ ]*\>"
 syntax match muControl "\<jump\>\|\<jump-if[^ ]*"
 syntax match muControl "\<break\>\|\<break-if[^ ]*"
 syntax match muControl "\<loop\>\|\<loop-if[^ ]*"