From 72b0be3e3810c1b030e151090e5b86953e85bceb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 17 Jun 2018 09:42:12 +0200 Subject: emacs: Discard some unused programming modes --- emacs/.emacs.d/main.el | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'emacs/.emacs.d/main.el') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 655afdfa..a09b4de5 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. -- cgit 1.4.1