about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-07-06T18·18-0400
committergrfn <grfn@gws.fyi>2021-07-06T18·32+0000
commite00a7263fb78ef24e4f50d98f184de659555c2b0 (patch)
treeb4cc5b91361a08339bd37d51e0627cc48ccbba1b /users
parentad8d38c64cc98e71059538ca10bd4b979cd2cf74 (diff)
feat(gs/emacs): Don't display info-level flycheck errors r/2685
These end up being things like "hey, you used a proc macro" which isn't
useful to me, and clogs up the rest of my error navigation.

Change-Id: I9ccfddcce9683184f2479ae1aa30a8414f7e7c51
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3242
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/grfn/emacs.d/config.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/config.el b/users/grfn/emacs.d/config.el
index 16d75ddc70a7..91e7a2b888b0 100644
--- a/users/grfn/emacs.d/config.el
+++ b/users/grfn/emacs.d/config.el
@@ -915,7 +915,9 @@
   (modify-syntax-entry ?- "w"))
 
 (after! flycheck
-  (put 'flycheck-python-pylint-executable 'safe-local-variable (lambda (_) t)))
+  (put 'flycheck-python-pylint-executable 'safe-local-variable (lambda (_) t))
+  (setq flycheck-error-list-minimum-level 'warn
+        flycheck-navigation-minimum-level 'warn))
 
 (defvar alembic-command "alembic"
   "Command to execute when running alembic")