summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-06-17 09:42:12 +0200
committerAlan Pearce2018-06-17 09:43:06 +0200
commit72b0be3e3810c1b030e151090e5b86953e85bceb (patch)
tree818390ea241e015694b88ca7dd25ae01d4bd82af /emacs
parent1080f3d942b3e9dbc73c05c4fb41753e3f3fb030 (diff)
downloaddotfiles-72b0be3e3810c1b030e151090e5b86953e85bceb.tar.lz
dotfiles-72b0be3e3810c1b030e151090e5b86953e85bceb.tar.zst
dotfiles-72b0be3e3810c1b030e151090e5b86953e85bceb.zip
emacs: Discard some unused programming modes
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el29
1 files changed, 1 insertions, 28 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 655afdf..a09b4de 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -789,9 +789,7 @@
 (use-package smart-tabs-mode
   :defer 1
   :config (progn
-            (smart-tabs-insinuate 'c 'cperl 'python)
-            (define-hook-helper php-mode ()
-              (smart-tabs-mode indent-tabs-mode))))
+            (smart-tabs-insinuate 'c 'cperl 'python)))
 
 ;;;;; editorconfig
 
@@ -1807,14 +1805,6 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
             (setq flycheck-display-errors-delay 0.5)
             (flycheck-pos-tip-mode 1)))
 
-;;;;;; flycheck-flow
-
-(use-package flycheck-flow
-  :after js2-mode
-  :if (executable-find "flow")
-  :config (progn
-            (flycheck-add-next-checker 'javascript-eslint 'javascript-flow)))
-
 ;;;;;; prog-fill
 
 (use-package prog-fill
@@ -2046,16 +2036,6 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 (use-package quickrun
   :bind (("C-c C-e" . quickrun)))
 
-;;;;; Scala
-
-;; Let’s try using Scala.
-
-(use-package scala-mode)
-
-;; And add ensime, an IDE-style environment.
-
-(use-package ensime)
-
 ;;;;; Web development
 
 ;;;;;; js2-mode
@@ -2137,13 +2117,6 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
               (when (executable-find "standard")
                 (setq-local flycheck-javascript-standard-executable (executable-find "standard"))))))
 
-;;;;;;; Flow
-
-(use-package flow-minor-mode
-  :after js2-mode
-  :config (progn
-            (add-hook 'js2-mode-hook #'flow-minor-enable-automatically)))
-
 ;;;;;;; Indium
 
 ;; Javascript with an inferior node.js process and a debugger?  Awesome.