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

モジュール内で :QuickRun を中断する仕組みが欲しい #69

Open
osyo-manga opened this issue Jul 28, 2013 · 0 comments
Open

Comments

@osyo-manga
Copy link
Contributor

例えば、
『hook.hook_loaded 時に hook.config の値が無効であれば :QuickRun を中断する』
みたいな処理を行いたいときに有効だと思います。
考えられる機構としては、モジュール内で

  • call quickrun#quit() 関数を呼ぶ
  • 例外を飛ばす
  • 0 以外の値を返す
  • a:session に対して値を設定する
    • e.g. a:session.quit == 1 であれば中断

みたいな感じですかねぇ。

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

No branches or pull requests

1 participant