   (modify-syntax-entry ?< "(>")
   (modify-syntax-entry ?> ")<"))
 
+(use-package requirejs :ensure t)
+
 (use-package js2-mode :ensure t
+  :after requirejs-emacs
   :interpreter "node"
   :config
   (ar/process-assert-binary-installed "node")


(use-package python-docstring :ensure t
  :commands (python-docstring-mode))

;; Enable searching info via info-lookup-symbol (ie. C-h S).
(use-package pydoc-info :ensure t)


(defun ar/js2-mode-hook-function ()
  "Called when entering `js2-mode'."
  (requirejs-mode)
  (js2-imenu-extras-setup)
  (setq-local js2-basic-offset 2)
  (setq company-tooltip-align-annotations t)
