Procházet zdrojové kódy

Add diff-mode config

master
10sr před 4 roky
rodič
revize
f36dcaecbf
Podepsáno: 10sr ID GPG klíče: 7BEC428194130EB2
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. +6
    -1
      emacs.el

+ 6
- 1
emacs.el Zobrazit soubor

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


Načítá se…
Zrušit
Uložit