浏览代码

Add diff-mode config

master
10sr 5 年前
父节点
当前提交
f36dcaecbf
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      emacs.el

+ 6
- 1
emacs.el 查看文件

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


正在加载...
取消
保存