diff --git a/syntax/maude.vim b/syntax/maude.vim index f01b311..bc09487 100644 --- a/syntax/maude.vim +++ b/syntax/maude.vim @@ -62,14 +62,15 @@ hi def link maudeIf Conditional syn match maudeUnderscore '_' hi def link maudeUnderscore Special -syn match maudePunc '\%(^\|\s\)\zs\%(::\?\|->\|=>\|=\%(=\|/=\)\?\)\ze\%(\s\|$\)' +syn match maudePunc + \ '\%(^\|\s\)\zs\%(:[:=]\?\|->\|<-\|=>\|=\%(=\|/=\)\?\|@\)\ze\%(\s\|$\)' hi def link maudePunc Operator syn match maudeDelim '[{}\[\](),]\|\%(^\|\s\)\zs\.\ze\%(\s\|$\)' hi def link maudeDelim Delimiter -syn keyword maudeCommand reduce red rewrite rew load set quit +syn keyword maudeCommand load set quit hi def link maudeCommand Special