Compare commits
No commits in common. "621e4aea64df9bbf288c2b01d965b2d2e63dd802" and "ffc5fe656092385050b541d909f51c5a6a4a5227" have entirely different histories.
621e4aea64
...
ffc5fe6560
@ -62,15 +62,7 @@
|
||||
:straight (:type built-in)
|
||||
:commands compile
|
||||
:config
|
||||
(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))
|
||||
|
||||
|
||||
(evil-collection-compile-setup))
|
||||
|
||||
;; Code formatting library
|
||||
(use-package apheleia
|
||||
|
@ -183,13 +183,6 @@
|
||||
:command-line "web-ext build"
|
||||
: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
|
||||
(leader-map "\"" #'run-command)
|
||||
(run-command-term-minor-mode-map [remap recompile] #'run-command-term-recompile)
|
||||
@ -207,7 +200,6 @@
|
||||
run-command-recipe-kustomize
|
||||
run-command-recipe-sops
|
||||
run-command-recipe-pytest
|
||||
run-command-recipe-web-ext
|
||||
run-command-recipe-pip)))
|
||||
run-command-recipe-web-ext)))
|
||||
|
||||
(provide 'init-run-command)
|
||||
|
@ -19,11 +19,4 @@
|
||||
(use-package hide-mode-line
|
||||
: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)
|
||||
|
Loading…
Reference in New Issue
Block a user