 ;;; Current line
 (defface my/hl-line-face
   '((((class color) (background dark))
-     (:background "NavyBlue" t))
+     (:background "NavyBlue" +1))
     (((class color) (background light))
-     (:background "LightGoldenrodYellow" t))
-    (t (:bold t)))
-    "hl-line's my face")
+     (:background "LightGoldenrodYellow" +1))
+    (t (:bold +1)))
+  "hl-line's my face")
 (setq hl-line-face 'my/hl-line-face)
 (global-hl-line-mode -1)
 
 ;;; Symbol
-(el-get-bundle! highlight-symbol
+(use-package highlight-symbol
+  :init
+  (el-get-bundle highlight-symbol)
   (add-hook 'prog-mode-hook 'highlight-symbol-mode)
+  :config
   (setq highlight-symbol-idle-delay 0.5))
 
 ;;; Parentheses

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

(el-get-bundle rainbow-delimiters)
(use-package rainbow-delimiters
  :commands rainbow-delimiters-mode
  :init     (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 t)
(set-face-background 'trailing-whitespace "#B14770")

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

;;; Minibuffer
;;;------------------------------
(fset 'yes-or-no-p 'y-or-n-p)
(setq completion-ignore-case +1)
(setq read-buffer-completion-ignore-case +1)
(setq read-file-name-completion-ignore-case +1)
