conf-flycheck.el 600 B

1234567891011121314151617181920
  1. (add-hook 'after-init-hook #'global-flycheck-mode)
  2. ;;Color
  3. (require 'flycheck-color-mode-line)
  4. (eval-after-load "flycheck"
  5. '(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode))
  6. (setq flycheck-check-syntax-automatically '(save))
  7. (custom-set-variables
  8. '(flycheck-highlighting-mode (quote columns))
  9. '(flycheck-indication-mode (quote right-fringe))
  10. )
  11. (set-face-attribute 'flycheck-error nil :underline '(:style wave :color "Black1"))
  12. (set-face-attribute 'flycheck-color-mode-line-error-face '(:inherit flycheck-fringe-error :foreground "red" :weight normal))
  13. (provide 'conf-flycheck)