 ;;; Startup
 ;;;------------------------------
 ;;; Disbaled startup display
-(setq inhibit-startup-screen t)
+(setq inhibit-startup-screen +1)
 (setq initial-scratch-message "")
 
 ;;;------------------------------

;;; Current line
(defface my/hl-line-face
  '((((class color) (background dark))
     (:background "NavyBlue" t))
    (((class color) (background light))
     (:background "LightGoldenrodYellow" t))
    (t (:bold t)))
    "hl-line's my face")
(setq hl-line-face 'my/hl-line-face)
(global-hl-line-mode -1)

;;; Symbol
(el-get-bundle! highlight-symbol
  (add-hook 'prog-mode-hook 'highlight-symbol-mode)
  (setq highlight-symbol-idle-delay 0.5))

;;; Parentheses

(show-paren-mode)
(setq show-paren-delay 0.3)

(use-package rainbow-delimiters
  :init
  (el-get-bundle rainbow-delimiters)
  (add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
  :config
  (cl-loop for index from 1 to rainbow-delimiters-max-face-count do
           (let ((face (intern (format "rainbow-delimiters-depth-%d-face" index))))
             (cl-callf color-saturate-name (face-foreground face) 30))))

;;; Trailing whitespace
(setq-default show-trailing-whitespace +1)
(set-face-background 'trailing-whitespace "#B14770")

;;; Difference
(use-package volatile-highlights
  :init
  (el-get-bundle volatile-highlights)
  :config
  (volatile-highlights-mode)
  ;; supprot undo-tree
  (vhl/define-extension 'undo-tree 'undo-tree-yany 'undo-tree-move)
