瀏覽代碼

ndiff: direction to get rid of vim warning

master
Arun Prakash Jana 5 年之前
父節點
當前提交
c5bbbd852c
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      plugins/ndiff

+ 4
- 0
plugins/ndiff 查看文件

@@ -23,6 +23,10 @@ if [ -s $selection ]; then
vimdiff "$dir1" "$dir2"
rm "$dir1" "$dir2"
else
# If xargs supports the -o option, use it to get rid of:
# Vim: Warning: Input is not from a terminal
# cat $selection | xargs -0 -o vimdiff

cat $selection | xargs -0 vimdiff
fi
else


Loading…
取消
儲存