       (ert t)
       (select-window (get-buffer-window original-buffer)))))
 
-(use-package cmake-mode)
-
-(use-package cc-mode
-  :defer t
-  :config
-  (add-to-list 'c-default-style '(other . "k&r")))
-
-(use-package omnisharp
-  :demand
-  :config
-  (setq omnisharp-server-executable-path
-        (expand-file-name "~/local/omnisharp-1.32.9/run"))
-  (add-to-list 'company-backends 'company-omnisharp))
-
-(use-package csproj-mode
-  :init
-  (add-hook 'csproj-mode-hook #'omnisharp-mode))
-
 (defun my-csharp-mode-setup ()
   "Configure csharp-mode."
   (setq indent-tabs-mode nil)


(use-package csharp-mode
  :init
  (add-hook 'csharp-mode-hook #'omnisharp-mode)
  (add-hook 'csharp-mode-hook #'my-csharp-mode-setup))

(use-package groovy-mode)

(use-package js2-mode
  :mode "\\.js\\'")

(use-package python
  :mode ("\\.py\\'" . python-mode))

(use-package sphinx-doc
  :config
  (add-hook 'python-mode-hook #'sphinx-doc-mode))

(use-package jedi
  :config
  (progn
    ;; need to pip install epc and jedi
    (add-hook 'python-mode-hook 'jedi:setup)
    (setq jedi:complete-on-dot t)))
;; TODO: in evil's insert state, map the normal autocomplete to jedi

(use-package anaconda-mode
  :config
  (add-hook 'python-mode-hook #'anaconda-mode))

(use-package java-snippets)

(use-package jtreg
  :load-path "~/devel/emacs-jtreg/"
  :ensure nil
  :config
  (setq jtreg-dir "~/local/jtreg/lib/"))

(use-package jar-manifest-mode)

(use-package lua-mode)

(use-package restclient
  :commands restclient-mode

  :config
  (add-hook 'writeroom-mode-hook #'my-disable-git-gutter-mode))

(use-package yaml-mode)

;;;
;;; Programming Modes
