 (use-package requirejs :ensure t)
 
 (use-package rjsx-mode :ensure t
-  :config
-  (add-to-list 'auto-mode-alist '("\\.js$" . rjsx-mode))
-  (add-to-list 'auto-mode-alist '("\\.jsx$" . rjsx-mode))
+  :mode (("\\.js\\'" . rjsx-mode)
+         ("\\.jsx\\'" . rjsx-mode))
+  :config
   (add-hook #'js2-mode-hook #'ar/js2-mode-hook-function))
 
 ;; Disabling in favor of rjsx-mode.

  (set-face-attribute 'objc-font-lock-function-name nil :foreground "#dcdcdc")
  (validate-setq objc-font-lock-background-face nil))

(use-package dummy-h-mode :ensure t)
(add-to-list 'auto-mode-alist '("\\.h\\'" . dummy-h-mode))

(use-package go-eldoc :ensure t
  :commands go-eldoc-setup)


(setq css-indent-offset 2)

(use-package markdown-mode :ensure t
  :mode (("\\.text\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode)
         ("\\.md\\'" . markdown-mode)))
(use-package markdown-mode+ :ensure t
  :after markdown-mode)

(setq display-time-world-list '(("Europe/Paris" "Paris")
                                ("Europe/London" "London")
