Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 12, 2016

Conversation

rhysd
Copy link

@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
Copy link
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants