diff --git a/VimL.tmLanguage b/VimL.tmLanguage index 083b9c5..2580575 100644 --- a/VimL.tmLanguage +++ b/VimL.tmLanguage @@ -7,9 +7,9 @@ vim foldingStartMarker - ^(if|while|for|fu|function|augroup|aug) + ^(if|while|for|fu|function|try|augroup|aug) foldingStopMarker - (endif|endwhile|endfor|endf|endfunction|augroup\.END|aug\.END)$ + (endif|endwhile|endfor|endf|endfunction|endtry|augroup\.END|aug\.END)$ name VimL patterns @@ -213,7 +213,7 @@ match - \b(if|while|for|return|end(if|for|while)?|au(g|group)|else(if|)?|do|in|:)\b + \b(if|while|for|try|return|throw|end(if|for|while|try)?|au(g|group)|else(if|)?|do|in|catch|finally|:)\b name keyword.control.viml