   (yas-global-mode 1))
 
 (use-package rainbow-delimiters
-  :commands rainbow-delimiters-mode
-  :init
-  (add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
+  :hook (prog-mode . rainbow-delimiters-mode))
 
 (use-package powerline
   :config

  :config
  (smartparens-global-mode t)
  (use-package evil-smartparens
    :commands evil-smartparens-mode
    :init
    (add-hook 'smartparens-enabled-hook 'evil-smartparens-mode)))

(use-package web-mode
  :mode (rx ".htm" (zero-or-one "l") string-end))

  (js2-strict-missing-semi-warning nil))

(use-package indium
  :commands (indium-connect indium-launch)
  :hook (js2-mode . indium-interaction-mode))

(use-package rjsx-mode
  :mode (rx ".jsx" string-end))
