 ;;;;;;;;
 ;; rust-mode
 ;;;;;;;;
-(require 'rust-mode)
-
+(require-if-not 'rust-mode)
 (add-hook 'rust-mode-hook
           (lambda ()
             (setq indent-tabs-mode nil)

;;;;;;;;
;; flycheck-mode
;;;;;;;;
(setq flycheck-flake8-maximum-complexity 10)
(global-set-key (kbd "<f8>") 'flycheck-mode)
;;(add-hook 'after-init-hook #'global-flycheck-mode)

;;;;;;;;
;; ghc ( -> intero)
;;;;;;;;
;; (autoload 'ghc-init "ghc" nil t)
;; (autoload 'ghc-debug "ghc" nil t)
;; (add-hook 'haskell-mode-hook (lambda () (ghc-init)))

;;;;;;;;
;; god-mode
;;;;;;;;
(global-set-key (kbd "\C-\\") 'god-local-mode)

;;;;;;;;
;; graphviz-dot-mode
;;;;;;;;
;; cogre-dot-modeがgraphviz-dot-modeを発見できるようrequire
(require 'graphviz-dot-mode)
(setq graphviz-dot-auto-indent-on-semi nil)
(add-hook 'graphviz-dot-mode-hook (lambda () (auto-complete-mode)))


;;;;;;;;
;; slime
;;;;;;;;
(require-if-not 'slime)

;;;;;;;;
;; slime-helper
