summary refs log tree commit diff
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/init.el44
1 files changed, 6 insertions, 38 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index d22df22..75d4474 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -166,13 +166,9 @@
 
   :config
   (progn
-    (use-package flycheck-twitter-python-style
-      :load-path (lambda () (expand-file-name  "~/src/flycheck-twitter-python-style.el/")))
 
     (add-hook 'prog-mode-hook 'flycheck-mode)
 
-    (flycheck-twitter-python-style-setup)
-
     (setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
     (setq flycheck-highlighting-mode 'lines)
     (setq flycheck-check-syntax-automatically '(mode-enabled save))))
@@ -373,17 +369,9 @@
 
 (use-package midnight
   ;; clean old buffers at midnight
-  :ensure t)
-
-(use-package pants
-  ;; interface to pants
-  :load-path (lambda () (expand-file-name  "~/src/pants.el/"))
-
+  :ensure t
   :config
-  (setq pants-completion-system 'ivy
-        pants-source-tree-root "/Users/fcuny/src/source"
-        pants-bury-compilation-buffer t
-        pants-extra-args "-q")
+  (midnight-mode t))
 
   :bind (("C-c b" . pants-find-build-file)
          ("C-c r" . pants-run-binary)
@@ -423,21 +411,6 @@
         projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory))
   (add-to-list 'projectile-globally-ignored-files ".DS_Store"))
 
-(use-package puppet-mode
-  ;; mode to support puppet and work with puppet
-  :ensure t
-
-  :mode ("\\.pp\\'" . puppet-mode)
-
-  :init (add-hook 'puppet-mode-hook 'flycheck-mode)
-
-  :config
-  (when (memq window-system '(mac ns x))
-    (dolist (var '("GEM_HOME" "GEM_PATH" "MY_RUBY_HOME"))
-      (unless (getenv var)
-        (exec-path-from-shell-copy-env var))))
-  (setq flycheck-puppet-lint-rc "/Users/fcuny/src/twitter-ops/utilities/puppet/.puppet-lint.rc"))
-
 (use-package python
   ;; configuration for Python
   :mode(("\\.aurora$" . python-mode)
@@ -518,15 +491,6 @@
                   :action (lambda (x) (switch-to-buffer x))
                   :caller 'fc/find-term-buffers)))))
 
-(use-package thrift
-  ;; mode to work with thrift files
-  :ensure t
-
-  :mode ("\\.thrift\\'" . thrift-mode)
-
-  :config
-  (setq thrift-indent-level 2))
-
 (use-package tramp
   ;; configuration for tramp
   :config
@@ -553,4 +517,8 @@
 
   :mode ("\\.ya?ml\\'" . yaml-mode))
 
+(use-package twitter
+  ;; finish by loading twitter's modules
+  :load-path (lambda () (expand-file-name  "lib" user-emacs-directory)))
+
 (add-hook 'emacs-startup-hook #'fc/load-time)