0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

undotree.vimはdiffに依存している

Posted at

Undotree is written in pure Vim script and doesn't rely on any third-party tools.

SoftwareDesignにも取り上げられていたので、vimプラグインであるundotreeをインストールしてみたが、Windowsのデフォルトでは動作しなかった。

調べてみたところ、Linux等の他のOSではデフォルトで入っているdiffコマンドが、Windowsにはデフォルトでは入っていないためにエラー判定をしている模様。
https://github.com/mbbill/undotree/blob/1cc3b9069e4356efd4ce1c3c4bdbb227fb54e1e5/autoload/undotree.vim#L1200

試しにDiffUtils for Windowsをインストールしてみたところ、エラーは出なくなり起動した。
http://gnuwin32.sourceforge.net/packages/diffutils.htm

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?