           #b00000000
           #b00000000
           #b00000000))
-
-(set-face-attribute 'flycheck-error nil
-                    :background "red"
-                    :foreground "white"
-                    :underline nil)
-(set-face-attribute 'flycheck-warning nil
-                    :background "orange"
-                    :foreground "white"
-                    :underline nil)
-(set-face-attribute 'flycheck-info nil
-                    :foreground "white"
-                    :background "dodger blue"
-                    :underline nil)
-
-(set-face-attribute 'flycheck-fringe-error nil
-                    :foreground "red")
-(set-face-attribute 'flycheck-fringe-warning nil
-                    :foreground "orange")
-(set-face-attribute 'flycheck-fringe-info nil
-                    :foreground "dodger blue")
 
 (flycheck-define-error-level 'error
   :severity 2

      (add-hook 'projectile-mode-hook 'projectile-rails-on)
      (projectile-global-mode)
      (setq projectile-enable-caching t)
      (setq projectile-indexing-method 'native)
      (add-to-list 'projectile-globally-ignored-directories "vendor")
      (add-to-list 'projectile-globally-ignored-directories "tmp")
      (add-to-list 'projectile-globally-ignored-directories "app/assets/images")
      (add-to-list 'projectile-globally-ignored-directories "app/assets/fonts")
      (setq projectile-globally-ignored-file-suffixes '(".png" ".jpg" ".gif" ".woff" ".woff2" ".ttf" ".cache"))
      (setq tags-table-list (cons (concat (projectile-project-root) ".git") '()))

      (evil-leader/set-key
        "cr" 'projectile-rails-find-controller

  :fringe-bitmap 'my-flycheck-fringe-indicator
  :fringe-face 'flycheck-fringe-info)

(set-face-attribute 'flycheck-error nil
                    :background "red"
                    :foreground "white"
                    :underline nil)
(set-face-attribute 'flycheck-warning nil
                    :background "orange"
                    :foreground "white"
                    :underline nil)
(set-face-attribute 'flycheck-info nil
                    :foreground "white"
                    :background "dodger blue"
                    :underline nil)

(set-face-attribute 'flycheck-fringe-error nil
                    :foreground "red")
(set-face-attribute 'flycheck-fringe-warning nil
                    :foreground "orange")
(set-face-attribute 'flycheck-fringe-info nil
                    :foreground "dodger blue")

(defun shreve-dired-mode ()
  "Configure dired mode to my liking."
  (dired-hide-details-mode)
  (linum-mode))
(add-hook 'dired-mode-hook 'shreve-dired-mode)

(defun shreve-text-mode ()
  "Configure Emacs for more intuitive large-blob editing."
  (visual-line-mode)
  (define-key evil-normal-state-map "j" 'next-line)
  (define-key evil-normal-state-map "k" 'previous-line)
  (fci-mode 0))
(add-hook 'latex-mode-hook 'shreve-text-mode)
(add-hook 'org-mode-hook 'shreve-text-mode)
(add-hook 'markdown-mode-hook 'shreve-text-mode)

(defun shreve-jade-mode ()
  "Use company preferred formatting for jade/pug files."
  (setq indent-tabs-mode t)
  (setq tab-width 4))
  (whitespace-mode)
(add-to-list 'auto-mode-alist '("\\.jade\\'" . jade-mode))
(add-hook 'jade-mode-hook 'shreve-jade-mode)

(defun shreve-markdown-mode ()
  "Configure Emacs for pleasant journaling use."
  (markdown-mode)
  (auto-fill-mode 1)
  (fci-mode 1)
  (setq fill-column 80)
)
(add-to-list 'auto-mode-alist '("\\.md\\'" . shreve-markdown-mode))
(add-to-list 'auto-mode-alist '("\\.txt\\'" . shreve-markdown-mode))

;;
;; Ruby-specific code folding config
;;
(add-hook 'ruby-mode-hook (lambda () (hs-minor-mode)))

(eval-after-load "hideshow"
  '(add-to-list 'hs-special-modes-alist
    `(ruby-mode
      ,(rx (or "def" "class" "module" "do" "{" "[")) ; Block start
      ,(rx (or "}" "]" "end"))                       ; Block end
      ,(rx (or "#" "=begin"))                        ; Comment start
      ruby-forward-sexp nil)))
(global-set-key (kbd "C-c h") 'hs-hide-block)
(global-set-key (kbd "C-c s") 'hs-show-block)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages
   (quote
    (js2-mode eslint-fix csharp-mode scss-mode dockerfile-mode magit grizzl fzf ag jsx-mode rjsx-mode notmuch web-mode slim-mode simpleclip sass-mode rust-mode projectile-rails package-utils linum-relative jade-mode indent-guide goto-last-change go-mode flycheck flx-ido fish-mode fill-column-indicator evil-leader evil-commentary elixir-mode coffee-mode apib-mode)))
 '(safe-local-variable-values (quote ((fci-rule-column . 99)))))

(provide '.emacs)
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
