summaryrefslogtreecommitdiff
path: root/config/flycheck
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2022-10-07 03:10:21 -0400
committerJohn Turner <jturner.usa@gmail.com>2022-10-07 03:10:21 -0400
commit6fac8a28da9bf30da71941340505c2316d0db5a3 (patch)
treef7d840005abe0195e093fa0db6f1e44ecba0ba8d /config/flycheck
parentceaa741cfb13938aa359f33f926ccdcb2689f303 (diff)
downloademacs.d-6fac8a28da9bf30da71941340505c2316d0db5a3.tar.gz
changed the config-* prefix to init-* for all of the init files
Diffstat (limited to 'config/flycheck')
-rw-r--r--config/flycheck/config-flycheck-cargo-has-command-p-fix.el7
-rw-r--r--config/flycheck/config-flycheck.el15
2 files changed, 0 insertions, 22 deletions
diff --git a/config/flycheck/config-flycheck-cargo-has-command-p-fix.el b/config/flycheck/config-flycheck-cargo-has-command-p-fix.el
deleted file mode 100644
index 1135165..0000000
--- a/config/flycheck/config-flycheck-cargo-has-command-p-fix.el
+++ /dev/null
@@ -1,7 +0,0 @@
-(defun config-flycheck-rust-cargo-has-command-p (command)
- (let* ((commands (process-lines "cargo" "--list"))
- (trimmed (-map (lambda (row) (-slice row 4 (string-search " " 4))) commands)))
- (seq-contains-p (-rest trimmed) command)))
-
-(advice-add 'flycheck-rust-cargo-has-command-p
- :override 'config-flycheck-rust-cargo-has-command-p)
diff --git a/config/flycheck/config-flycheck.el b/config/flycheck/config-flycheck.el
deleted file mode 100644
index 95c0b49..0000000
--- a/config/flycheck/config-flycheck.el
+++ /dev/null
@@ -1,15 +0,0 @@
-(require 'flycheck)
-
-(load "config-flycheck-cargo-has-command-p-fix")
-
-(add-hook 'flycheck-error-list-mode-hook (lambda () (visual-line-mode 1)))
-
-(add-to-list 'display-buffer-alist '("\\*Flycheck errors.*"
- (config-display-buffer-best-side)
- (which-side . (lambda ()
- (if (config-display-buffer-frame-wide-p)
- 'right
- 'bottom)))))
-
-
-(provide 'config-flycheck)