 
 (setq css-indent-offset 2)
 
-(use-package markdown-mode+ :ensure t)
-(autoload 'markdown-mode "markdown-mode"
-  "Major mode for editing Markdown files" t)
-(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
-(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
-(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
+(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")

  (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)

(use-package requirejs :ensure t)

(use-package rjsx-mode :ensure t
  :mode (("\\.js\\'" . rjsx-mode)
         ("\\.jsx\\'" . rjsx-mode))
  :config
  (add-hook #'js2-mode-hook #'ar/js2-mode-hook-function))

;; Disabling in favor of rjsx-mode.
