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
set guioptions+=!とすると:shや:!がGVimのterminalウィンドウ内で実行されるとのことで、試してみたのですが、これを指定するとコマンドの終了ステータスに関わらずv:shell_errorの値が0になってしまいます。
set guioptions+=!
:sh
:!
v:shell_error
0
外部コマンドを呼ぶプラグインが困るので、guioptionsに!を含めないときと同様に終了ステータスを反映するようにしていただきたいです。
guioptions
!
Vim+kaoriya 8.1.0005
Windows 10 Pro 64bit (10.0.17134.48)
The text was updated successfully, but these errors were encountered:
これでどうでしょうか https://github.com/vim/vim/compare/master...ichizok:fix/go_terminal.diff
Sorry, something went wrong.
↑のパッチで期待する動作になっていることを確認しました。
PRed. vim/vim#2994
8.1.0087 vim/vim@f9c3883
No branches or pull requests
質問・報告の内容
set guioptions+=!
とすると:sh
や:!
がGVimのterminalウィンドウ内で実行されるとのことで、試してみたのですが、これを指定するとコマンドの終了ステータスに関わらずv:shell_error
の値が0
になってしまいます。外部コマンドを呼ぶプラグインが困るので、
guioptions
に!
を含めないときと同様に終了ステータスを反映するようにしていただきたいです。Vimのバージョン
Vim+kaoriya 8.1.0005
OSの種類/ディストリ/バージョン
Windows 10 Pro 64bit (10.0.17134.48)
The text was updated successfully, but these errors were encountered: