Supported try ... catch ... finally ... endtry #5

Merged
merged 1 commit into from Aug 12, 2016

Projects

None yet

2 participants

@rhysd
rhysd commented Oct 5, 2015
function SomeFunc()
    try
        throw "something"
    catch /^something/
        echo "caught"
    finally
        echo "goodbye"
    endtry
endfunction

I believe that the keywords will be highlighted after merging this PR. Please see :help :try for more detail.

Please note that I don't know XML grammar definition rule very much, so it may include some errors.

@SalGnt SalGnt merged commit b453aff into SalGnt:master Aug 12, 2016
@SalGnt
Owner
SalGnt commented Aug 12, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment