Kaynağa Gözat

ndiff: direction to get rid of vim warning

master
Arun Prakash Jana 5 yıl önce
ebeveyn
işleme
c5bbbd852c
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: A75979F35C080412
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. +4
    -0
      plugins/ndiff

+ 4
- 0
plugins/ndiff Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet