   (dolist (func '(flycheck-4-elisp
                   flycheck-4-cc-mode
                   flycheck-4-python
+                  flycheck-4-rust
                   flycheck-4-go))
     (funcall func))
   )

;; Copyright (C) 2014 Dylan.Wen

;; Author: Dylan.Wen <hhkbp2@gmail.com>
;; Time-stamp: <2014-05-26 17:43>

;; This file is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by



(defun flycheck-4-go ()
  (require 'go-flycheck)
  (add-hook 'go-mode-hook 'flycheck-mode))

(defun flycheck-4-elisp ()
  (add-hook 'emacs-lisp-mode-hook 'flycheck-mode))

(defun flycheck-4-cc-mode ()
  ;; TODO add impl
  )

(defun flycheck-4-python ()
  (add-hook 'python-mode-hook '(lambda ()
                                 (flycheck-mode)
                                 (flycheck-select-checker 'python-pylint))))

(defun flycheck-4-rust ()
  (require 'flycheck-rust)
  (add-hook 'rust-mode-hook 'flycheck-mode)
  (add-hook 'flycheck-mode-hook #'flycheck-rust-setup))

(defun flycheck-settings ()
  "Settings for `flycheck'."
