Windows support Improvement by Vital library #15
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Millyさんのvimproc/systemとWindows対応をVitalで改善した内容になります。
動機
最初はMillyさんのPRを知らなかったので、別に修正を考えてました。
問題があったのは、Windowsでの非同期なコマンド実行でした。
これについて、中にis_windowsだらけを避けたり、vimproc対応などをラップするに、Vitalを使うのがよいのではないかという結論にいたり、その対応を行いました。
そのため、結果的に #10 についても改善します。
オプションについて
今回改善に関連して、以下の変化があります。
ctags -f ./tags .
orctags -f ./tags /path/to/dir
の制御です。テストについて
テストは全パスOK、Windowsでの動作も確認はできていますが、変更が大きいのでマージされるかなどはおまかせします。(最悪自分だけ使うでもよいので...)
小ネタ
Travisのvimは7.4で、各種ライブラリが今後サポートしないと思いますので、テストには注意が必要です。
Travisの環境、VerUpしないのだろうか...