   :modes scala-mode)
 
 (flycheck-add-next-checker 'scala-syncheck 'scala)
+
+;; Remove built in scala checkers.
+(add-to-list 'flycheck-disabled-checkers 'scala)
+(add-to-list 'flycheck-disabled-checkers 'scala-scalastyle)
 
 ;; Rebuild tags on save.
 (declare-function rebuild-tags "ide.el")

                       (toggle-truncate-lines nil)))
            (add-hook (make-local-variable 'after-save-hook) 'rebuild-tags)))

;; Define a sbt checker!
(require 'flycheck)
(flycheck-define-checker scala-syncheck
  "Checker for compilation with sbt and scalac"

            (defvar flycheck-check-syntax-automatically)
            (setq-local flycheck-check-syntax-automatically
                        '(mode-enabled save))
            ;; Show margin.
            (require 'fill-column-indicator)
            (declare-function fci-mode
