summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-02-17 16:24:58 -0800
committerFranck Cuny <fcuny@twitter.com>2019-02-17 16:24:58 -0800
commit6b1e97194177cd27ab2a6a1c30b4a35fa0db15e3 (patch)
tree66a2e4aab3faf0d27e731a7e8e32833d9b608613
parent[Emacs] BUILD files are not Python. (diff)
downloademacs.d-6b1e97194177cd27ab2a6a1c30b4a35fa0db15e3.tar.gz
[Emacs] Twitter related configurations are grouped
Things that are related to working at Twitter are in a single file
now.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-twitter.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-twitter.el b/emacs.d/custom/fcuny-twitter.el
new file mode 100644
index 0000000..33bd55a
--- /dev/null
+++ b/emacs.d/custom/fcuny-twitter.el
@@ -0,0 +1,12 @@
+(require 'fcuny-vars)
+
+(use-package pants
+  :load-path (lambda () (expand-file-name "pants.el" fcuny/path-workspace))
+  :mode (("BUILD\\'" . pants-build-mode))
+  :custom
+  (pants-completion-system 'ivy)
+  (pants-bury-compilation-buffer +1)
+  (pants-build-format-exec (expand-file-name "source/pants-support/buildifier/bin/buildifier" fcuny/path-workspace))
+  (pants-source-tree-root (expand-file-name "source" fcuny/path-workspace)))
+
+(provide 'fcuny-twitter)