Compare commits

..

No commits in common. "621e4aea64df9bbf288c2b01d965b2d2e63dd802" and "ffc5fe656092385050b541d909f51c5a6a4a5227" have entirely different histories.

3 changed files with 2 additions and 25 deletions

View File

@ -62,15 +62,7 @@
:straight (:type built-in) :straight (:type built-in)
:commands compile :commands compile
:config :config
(evil-collection-compile-setup) (evil-collection-compile-setup))
(defun postprocess-compilation-buffer ()
(goto-char compilation-filter-start)
(when (looking-at "\033c")
(delete-region (point-min) (match-end 0)))
(ansi-color-apply-on-region (point) (point-max)))
(add-hook 'compilation-filter-hook 'postprocess-compilation-buffer))
;; Code formatting library ;; Code formatting library
(use-package apheleia (use-package apheleia

View File

@ -183,13 +183,6 @@
:command-line "web-ext build" :command-line "web-ext build"
:working-dir dir)))) :working-dir dir))))
(defun run-command-recipe-pip ()
(when (and (buffer-file-name)
(string-match-p ".*requirements.*txt$" (buffer-file-name)))
(list
(list :command-name "install"
:command-line (format "pip install -r %s" (buffer-file-name))))))
:general :general
(leader-map "\"" #'run-command) (leader-map "\"" #'run-command)
(run-command-term-minor-mode-map [remap recompile] #'run-command-term-recompile) (run-command-term-minor-mode-map [remap recompile] #'run-command-term-recompile)
@ -207,7 +200,6 @@
run-command-recipe-kustomize run-command-recipe-kustomize
run-command-recipe-sops run-command-recipe-sops
run-command-recipe-pytest run-command-recipe-pytest
run-command-recipe-web-ext run-command-recipe-web-ext)))
run-command-recipe-pip)))
(provide 'init-run-command) (provide 'init-run-command)

View File

@ -19,11 +19,4 @@
(use-package hide-mode-line (use-package hide-mode-line
:commands hide-mode-line-mode) :commands hide-mode-line-mode)
;; A function to set the frame font
(defun set-font (font)
"Set the frame font to `font'"
(interactive (list (completing-read "Font: "
(delete-dups (font-family-list)))))
(set-frame-font font))
(provide 'init-ui) (provide 'init-ui)