From 42f35f47660ae601aa164c50838e0fa90174728a Mon Sep 17 00:00:00 2001 From: rhysd Date: Tue, 6 Oct 2015 02:09:20 +0900 Subject: [PATCH] support try ... catch ... finally ... endtry Please see `:help :try` --- VimL.tmLanguage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VimL.tmLanguage b/VimL.tmLanguage index be63656..1712cb5 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