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

Use vimproc#get_last_status() instead of v:shell_error if using vimproc. #620

Merged
merged 1 commit into from
Nov 26, 2015

Conversation

mattn
Copy link
Contributor

@mattn mattn commented Nov 26, 2015

v:shell_error is readonly variable. So vimproc provide way to get last error. Use it instead of v:shell_error.

fatih added a commit that referenced this pull request Nov 26, 2015
Use vimproc#get_last_status() instead of v:shell_error if using vimproc.
@fatih fatih merged commit c719f81 into fatih:master Nov 26, 2015
@fatih
Copy link
Owner

fatih commented Nov 26, 2015

Thanks @mattn

@mattn mattn deleted the shell_error branch November 26, 2015 09:05
endif

fu! s:shell_error()
let empty(s:vim_shell_error)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah sorry, this should be if.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird I've downloaded and tested it before I've merged and it was working :S

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.

None yet

2 participants