diff options
author | David Li <li.davidm96@gmail.com> | 2016-01-09 15:51:43 -0700 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2016-01-09 15:51:43 -0700 |
commit | 18cf800e18733efb828a03ecd1800f4aa8e34ef4 (patch) | |
tree | 5df04f45cb1eb1151d23aba905c784b6aaaab098 | |
parent | 32d27621fc0430a10c8b06ed0142f8c7605d3b55 (diff) |
Fix flycheck-rust not detecting binary crates
-rw-r--r-- | init.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,8 @@ This functions should be added to the hooks of major modes for programming." ;; flycheck (add-hook 'after-init-hook #'global-flycheck-mode) +;;; needed for flychcek to check whether the crate is binary or library +(add-hook 'flycheck-mode-hook #'flycheck-rust-setup) ;; company-mode (add-hook 'after-init-hook 'global-company-mode) |