 
 ;; parenthesis
 (use-package paren
-  :config (show-paren-mode)
+  :defer t
+  :hook ((prog-mode . show-paren-mode))
   :custom (show-paren-style 'expression))
 
 (use-package rainbow-delimiters


;; text completion
(use-package company
  :config (add-hook 'prog-mode-hook 'company-mode))

(use-package recentf
  ;; Loads after 1 second of idle time.
  :defer 1)

;; remote file access


;; highlight undoed text
(use-package undo-hl
  :defer t
  :straight (
    :host github
    :repo "casouri/undo-hl")	     
