Explorar el Código

Add diff-mode config

master
10sr hace 4 años
padre
commit
f36dcaecbf
Firmado por: 10sr ID de clave GPG: 7BEC428194130EB2
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. +6
    -1
      emacs.el

+ 6
- 1
emacs.el Ver fichero

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


Cargando…
Cancelar
Guardar