   :init
   (setq flycheck-enabled-checkers '(c/c++-gcc)
 	flycheck-check-syntax-automatically '(mode-enabled save)
-	flycheck-display-errors-delay 0.1))
+	flycheck-display-errors-delay 0.1)
+  (add-hook 'flycheck-mode-hook
+	    (lambda ()
+	      (set-face-attribute 'flycheck-error nil
+				  :underline `,danylo/red)
+	      (set-face-attribute 'flycheck-warning nil
+				  :underline `,danylo/yellow))))
 
 ;;;###autoload
 (defun danylo/toggle-spellcheck ()

  :bind (:map LaTeX-mode-map
	      ("C-c i w" . ispell-word)
	      ("C-x C-<backspace>" . electric-pair-delete-pair)
	      ("C-c f e" . danylo/org-emphasize-equation))
  :config
  (require 'latex)
  ;; Shell-escape compilation

  ;; Your life in plain text
  :hook ((org-mode . danylo/org-mode-setup))
  :bind (:map org-mode-map
	      ("C-x c s" . danylo/toggle-spellcheck))
  :init
  (setq org-startup-folded nil
	;;org-ellipsis "..." ;; " ▾"
