 (use-package json-mode)
 
 (use-package web-mode
-  :init
-  (add-to-list 'auto-mode-alist
-               '("\\.cshtml\\'" . web-mode)))
+  :mode "\\.cshtml\\'")
 
 (use-package sgml-mode
   :config

(use-package writeroom-mode)

(use-package org
  :demand
  :config
  (progn
    ;; fontify code in code blocks
    (setq org-src-fontify-natively t)
    (setq org-directory "~/notebook")
    (add-to-list 'auto-mode-alist (cons (concat org-directory "/.*") 'org-mode))

    ;; bullets



(use-package adoc-mode
  :init
  :mode "\\.adoc\\'")

(use-package diff-mode
  ;; files with '.patch.' in the middle of their name are patch files too
  :mode "\\.patch\\..*\\'")

(use-package dockerfile-mode)

(use-package markdown-mode
  :mode ("\\.md\\'"
         ("\\README.md\\'" . gfm-mode)))

(use-package markdown-toc)

