summaryrefslogtreecommitdiff
path: root/settings/setup-flycheck.el
diff options
context:
space:
mode:
Diffstat (limited to 'settings/setup-flycheck.el')
-rw-r--r--settings/setup-flycheck.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/setup-flycheck.el b/settings/setup-flycheck.el
index 764fe36..0c2b199 100644
--- a/settings/setup-flycheck.el
+++ b/settings/setup-flycheck.el
@@ -12,6 +12,7 @@
(add-hook 'c-mode-hook #'setup-custom-clang-checker)
(add-hook 'c++-mode-hook #'setup-custom-clang-checker)
+(add-hook 'flycheck-mode-hook #'flycheck-rust-setup)
(global-flycheck-mode 1)