 ;; highlight keywords
 (use-package fic-mode
   :config
-  :init
     (setq fic-highlighted-words `( "TODO" "HACK" "KLUDGE" "FIXME" "TRICKY" "BUG" ))
+  :init
     (me:add-hook-with-delay 'prog-mode-hook 10 #'fic-mode))
 
 (use-package whitespace
   :config
-  :init
-    (setq whitespace-line-column nil                      ; highlight past fill-column
-          whitespace-style '(face trailing tabs tab-mark lines-tail space-before-tab)
-          whitespace-display-mappings '((tab-mark 9 [9657 9] [92 9])))
+  (setq whitespace-line-column nil                      ; highlight past fill-column
+        whitespace-style '(face trailing tabs tab-mark lines-tail space-before-tab)
+        whitespace-display-mappings '((tab-mark 9 [9657 9] [92 9])))
+  :init
     (add-hook 'whitespace-mode-hook 'me:set-extra-font-attributes)
     (me:add-hook-with-delay 'prog-mode-hook 7 #'whitespace-mode)
   :diminish whitespace-mode)

  :general
    ("<s-return>" #'yas-expand)
  :init
  (setq yas-fallback-behavior 'return-nil)          ; don't try old binding
  (add-hook 'yas-before-expand-snippet-hook         ; evil-insert at each slot
            (lambda()
                  (let ((p (point)) (m (mark)))

        paradox-hide-wiki-packages t))

(use-package recentf
  :config
  (setq recentf-max-saved-items 200
        recentf-max-menu-items 15
        recentf-auto-cleanup 300) ; wait 5m before 1st cleanup
  (recentf-mode))

;; save buffer positions
(use-package saveplace
  :init
  (setq-default save-place t)
  :config
  (setq save-place-file (expand-file-name "places" user-emacs-directory)
        save-place-forget-unreadable-files nil)
  (save-place-mode t)
  :defer 3)

