Kaynağa Gözat

add preferences around diff command

pull/1/head
10sr 13 yıl önce
ebeveyn
işleme
8ba87d7cfd
1 değiştirilmiş dosya ile 14 ekleme ve 0 silme
  1. +14
    -0
      .emacs.el

+ 14
- 0
.emacs.el Dosyayı Görüntüle

@@ -595,6 +595,20 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; mode関連

(setq diff-switches "-u")
(add-hook 'diff-mode-hook
(lambda ()
(view-mode 1)
;; (set-face-foreground 'diff-file-header-face "black")
(set-face-foreground 'diff-index-face "blue")
(set-face-foreground 'diff-hunk-header-face "magenda")
(set-face-foreground 'diff-removed-face "red")
;; (set-face-background 'diff-removed-face "gray26")
(set-face-foreground 'diff-added-face "blue")
;; (set-face-background 'diff-added-face "gray26")
(set-face-foreground 'diff-changed-face "syan")
))

;; (ffap-bindings)

(add-hook 'sh-mode-hook


Yükleniyor…
İptal
Kaydet