Parcourir la source

Add diff-mode config

master
10sr il y a 4 ans
Parent
révision
f36dcaecbf
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. +6
    -1
      emacs.el

+ 6
- 1
emacs.el Voir le fichier

@@ -976,7 +976,12 @@ found, otherwise returns nil."
(add-hook 'editorconfig-hack-properties-functions
'(lambda (props)
(when (derived-mode-p 'makefile-mode)
(puthash 'indent_style "tab" props))))
(puthash 'indent_style "tab" props))
(when (derived-mode-p 'diff-mode)
(puthash 'trim_trailing_whitespace "false" props)
(puthash 'insert_final_newline "false" props)
)
))

(when (fboundp 'editorconfig-auto-apply-enable)
(add-hook 'editorconfig-conf-mode-hook


Chargement…
Annuler
Enregistrer