LoginSignup
2
1

More than 5 years have passed since last update.

vim-better-whitespace で "Whitespace found, delete it?" と聞かれるようになった時の対処法

Posted at

Vimで行末の無駄なスペースを削除してくれるプラグイン vim-better-whitespace で、 Whitespace found, delete it? と確認を求められるようになってしまった時の対処法。

confirm.png

設定ファイルに以下の内容を追記することによって、確認無しで消してくれるようになる。


let g:strip_whitespace_confirm = 0

昔はこんな確認されること無かったんだけどな、と思って調べてみたら Refactor #100 というPull Requestの このコミット で変更が入ったみたいだ。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1