<commit_before>;;; core-flycheck.el --- check yourself before you shrek yourself
;; Related to: lib/defuns-flycheck.el

(use-package flycheck
  :commands (flycheck-mode flycheck-list-errors flycheck-buffer)
  :init
  (setq flycheck-indication-mode 'right-fringe
        ;; Removed checks on idle/change for snappiness
        flycheck-check-syntax-automatically '(save mode-enabled)
        flycheck-disabled-checkers '(emacs-lisp-checkdoc make))
  :config
  (evil-initial-state 'flycheck-error-list-mode 'emacs)
  (map! (:map flycheck-error-list-mode-map
          :n [escape] 'kill-this-buffer
          :n "q"      'kill-this-buffer
          :n "C-n"    'flycheck-error-list-next-error
          :n "C-p"    'flycheck-error-list-previous-error
          :n "j"      'flycheck-error-list-next-error
          :n "k"      'flycheck-error-list-previous-error
          :n "RET"    'flycheck-error-list-goto-error))

  ;; Check buffer when normal mode is entered
  (add-hook! evil-normal-state-entry 'narf*flycheck-buffer)
  ;; And on ESC in normal mode.
  (advice-add 'evil-force-normal-state :after 'narf*flycheck-buffer)

  (define-fringe-bitmap 'flycheck-fringe-bitmap-double-arrow
    [0 0 0 0 8 24 56 120 56 24 8 0 0 0 0]
    ;; (fringe-helper-convert
    ;;  "........"
    ;;  "........"
    ;;  "........"
    ;;  "........"
    ;;  "....X..."
    ;;  "...XX..."
    ;;  "..XXX..."
    ;;  ".XXXX..."
    ;;  "..XXX..."
    ;;  "...XX..."
    ;;  "....X..."
    ;;  "........"
    ;;  "........"
    ;;  "........"
    ;;  "........")
    ))

(use-package flyspell :commands flyspell-mode)

(provide 'core-flycheck)
;;; core-flycheck.el ends here<commit_msg>flycheck: larger fringe indicator bitmap<commit_after>;;; core-flycheck.el --- check yourself before you shrek yourself
;; Related to: lib/defuns-flycheck.el

(use-package flycheck
  :commands (flycheck-mode flycheck-list-errors flycheck-buffer)
  :init
  (setq flycheck-indication-mode 'right-fringe
        ;; Removed checks on idle/change for snappiness
        flycheck-check-syntax-automatically '(save mode-enabled)
        flycheck-disabled-checkers '(emacs-lisp-checkdoc make))
  :config
  (evil-initial-state 'flycheck-error-list-mode 'emacs)
  (map! (:map flycheck-error-list-mode-map
          :n [escape] 'kill-this-buffer
          :n "q"      'kill-this-buffer
          :n "C-n"    'flycheck-error-list-next-error
          :n "C-p"    'flycheck-error-list-previous-error
          :n "j"      'flycheck-error-list-next-error
          :n "k"      'flycheck-error-list-previous-error
          :n "RET"    'flycheck-error-list-goto-error))

  ;; Check buffer when normal mode is entered
  (add-hook! evil-normal-state-entry 'narf*flycheck-buffer)
  ;; And on ESC in normal mode.
  (advice-add 'evil-force-normal-state :after 'narf*flycheck-buffer)

  (define-fringe-bitmap 'flycheck-fringe-bitmap-double-arrow
    [0 0 0 8 24 56 120 248 120 56 24 8 0 0 0]
    ;; (fringe-helper-convert
    ;;  "........"
    ;;  "........"
    ;;  "........"
    ;;  "....X..."
    ;;  "...XX..."
    ;;  "..XXX..."
    ;;  ".XXXX..."
    ;;  "XXXXX..."
    ;;  ".XXXX..."
    ;;  "..XXX..."
    ;;  "...XX..."
    ;;  "....X..."
    ;;  "........"
    ;;  "........"
    ;;  "........")
    ))

(use-package flyspell :commands flyspell-mode)

(provide 'core-flycheck)
;;; core-flycheck.el ends here
{'fraction_non_alphanumeric': 0.20326894502228826, 'fraction_numerical': 0.013670133729569094, 'mean_word_length': 1.9893428063943162, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5279638', 'n_tokens_mistral': 1265, 'n_tokens_neox': 1169, 'n_words': 235}