about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-26T14·29-0400
committerGriffin Smith <root@gws.fyi>2020-05-26T14·29-0400
commit699da9cebdeefc2fdba47dbe98fa95752d6472c1 (patch)
tree759fe5a2bab5a6a28392a7221b87d36ad29d90c1
parent77f6ed22065e026be826f978905097742dbb3fc4 (diff)
Drop nix-yapf-mode
we're using black now
-rw-r--r--config.el1
-rw-r--r--nix-yapf-mode.el21
2 files changed, 0 insertions, 22 deletions
diff --git a/config.el b/config.el
index 1ba55b2ad379..5dfcbb5cd848 100644
--- a/config.el
+++ b/config.el
@@ -22,7 +22,6 @@
 (load! "utils")
 (load! "company-sql")
 (load! "org-query")
-;; (load! "nix-yapf-mode")
 (load! "show-matching-paren")
 (load! "irc")
 (load! "github-org")
diff --git a/nix-yapf-mode.el b/nix-yapf-mode.el
deleted file mode 100644
index 9dba47bd3614..000000000000
--- a/nix-yapf-mode.el
+++ /dev/null
@@ -1,21 +0,0 @@
-;;; ~/.doom.d/nix-yapf-mode.el -*- lexical-binding: t; -*-
-
-
-(defun +grfn/yapfify-call-bin (input-buffer output-buffer start-line end-line)
-  (with-current-buffer input-buffer
-    (call-process-region
-     (point-min)
-     (point-max)
-     "nix-shell"
-     nil
-     (list output-buffer nil)
-     nil
-     "/home/griffin/code/urb/grid/yapf.nix"
-     "--run"
-     (concat
-      "yapf -l "
-      (number-to-string start-line)
-      "-"
-      (number-to-string end-line)))))
-
-(advice-add #'yapfify-call-bin :override #'+grfn/yapfify-call-bin)