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

:set guioptions+=! のとき v:shell_error が反映されない #1169

Closed
Bakudankun opened this issue May 22, 2018 · 4 comments
Closed

:set guioptions+=! のとき v:shell_error が反映されない #1169

Bakudankun opened this issue May 22, 2018 · 4 comments

Comments

@Bakudankun
Copy link

質問・報告の内容

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)

@ichizok
Copy link
Member

ichizok commented May 23, 2018

これでどうでしょうか
https://github.com/vim/vim/compare/master...ichizok:fix/go_terminal.diff

@Bakudankun
Copy link
Author

↑のパッチで期待する動作になっていることを確認しました。

@ichizok
Copy link
Member

ichizok commented Jun 8, 2018

PRed.
vim/vim#2994

@ichizok
Copy link
Member

ichizok commented Jun 20, 2018

8.1.0087
vim/vim@f9c3883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants