 ;; hs-minor-mode,折叠代码
 (require 'hs-minor-mode-settings)
 
+(defun dw-hs-minor-mode-settings()
+  (dolist (mode-hook dev-mode-hook-list)
+    (add-hook mode-hook 'hs-minor-mode)))
+(dw-hs-minor-mode-settings)
+
 (require 'whitespace-settings)
 
 ;;; 配置右括号自动补全

;; 高亮光标处单词
(require 'highlight-symbol-settings)


;; 高亮最新做的修改
;;(require 'highlight-tail-settings)

    (add-hook mode-hook
              '(lambda ()
                 ;; set tab width
                 (setq tab-width dw-tab-width)))))

(dw-tab-settings)


(require 'paren-settings)
