Open ichizok opened 7 years ago
sign は batch mode では必要ないのではと思うのですが、どうでしょうか。
修正案:
batch mode では ex_sign
は何もしない
https://github.com/vim/vim/compare/master...ichizok:fix/sign-in-batch.diff
ex コマンド定義に batch mode での実行を抑止するフラグを追加する https://github.com/vim/vim/compare/master...ichizok:fix/cmd-in-batch.diff
質問・報告の内容
https://github.com/thinca/vim-themis/pull/46
test.vim:
vim -Nu NONE -e -s -S test.vim
sign 以下のコールスタックは以下のようになり、
win_line
内でScreenLines[off]
を触ろうとして SEGV します。(batch mode の時ScreenLines == NULL
)