all repos — archive/dotfiles @ 72b0be3e3810c1b030e151090e5b86953e85bceb

Superseded by nixfiles

emacs: Discard some unused programming modes
Alan Pearce alan@alanpearce.eu
Sun, 17 Jun 2018 09:42:12 +0200
commit

72b0be3e3810c1b030e151090e5b86953e85bceb

parent

1080f3d942b3e9dbc73c05c4fb41753e3f3fb030

1 files changed, 1 insertions(+), 28 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.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 @@ :config (progn             (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 @@ ;; really seem to use it. (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
@@ -2136,13 +2116,6 @@ (when (executable-find "prettier-standard")                 (setq-local flycheck-javascript-standard-executable (executable-find "prettier-standard")))
               (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