<commit_before>;;; core-modeline.el

;; This file tries to be an almost self-contained configuration of my mode-line.

;;; These are the invisible dependencies
;; Required
;;(require 'f)
;;(require 's)
;;(require 'evil)
;;(require 'projectile)
;;(require 'all-the-icons)

;; Optional
;;(require 'flycheck)
;;(require 'anzu)
;;(require 'evil-anzu)
;;(require 'iedit)
;;(require 'evil-multiedit)

(require 'powerline)
(require 'all-the-icons)

;; all-the-icons doesn't work in the terminal, so we "disable" it.
(unless window-system
  (defun all-the-icons-octicon (&rest _) "" "")
  (defun all-the-icons-faicon (&rest _) "" "")
  (defun all-the-icons-fileicon (&rest _) "" "")
  (defun all-the-icons-wicon (&rest _) "" "")
  (defun all-the-icons-alltheicon (&rest _) "" ""))


;;
;; Variables
;;

(defconst doom-modeline-height 29
  "How tall the mode-line should be (only respected in GUI emacs).")

(defconst doom-modeline-bar-width 3
  "How wide the mode-line bar should be (only respected in GUI emacs).")


;;
;; Custom faces
;;

(defface doom-modeline-buffer-path '((t (:inherit mode-line :bold t)))
  "Face used for the dirname part of the buffer path.")

(defface doom-modeline-buffer-project
  '((t (:inherit doom-modeline-buffer-path :bold nil)))<commit_msg>defconst => defvar (so it can be overriden in emacs.local.d)<commit_after>;;; core-modeline.el

;; This file tries to be an almost self-contained configuration of my mode-line.

;;; These are the invisible dependencies
;; Required
;;(require 'f)
;;(require 's)
;;(require 'evil)
;;(require 'projectile)
;;(require 'all-the-icons)

;; Optional
;;(require 'flycheck)
;;(require 'anzu)
;;(require 'evil-anzu)
;;(require 'iedit)
;;(require 'evil-multiedit)

(require 'powerline)
(require 'all-the-icons)

;; all-the-icons doesn't work in the terminal, so we "disable" it.
(unless window-system
  (defun all-the-icons-octicon (&rest _) "" "")
  (defun all-the-icons-faicon (&rest _) "" "")
  (defun all-the-icons-fileicon (&rest _) "" "")
  (defun all-the-icons-wicon (&rest _) "" "")
  (defun all-the-icons-alltheicon (&rest _) "" ""))


;;
;; Variables
;;

(defvar doom-modeline-height 29
  "How tall the mode-line should be (only respected in GUI emacs).")

(defvar doom-modeline-bar-width 3
  "How wide the mode-line bar should be (only respected in GUI emacs).")


;;
;; Custom faces
;;

(defface doom-modeline-buffer-path '((t (:inherit mode-line :bold t)))
  "Face used for the dirname part of the buffer path.")

(defface doom-modeline-buffer-project
  '((t (:inherit doom-modeline-buffer-path :bold nil)))
{'fraction_non_alphanumeric': 0.17398058252427184, 'fraction_numerical': 0.002330097087378641, 'mean_word_length': 4.366666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4634347', 'n_tokens_mistral': 937, 'n_tokens_neox': 895, 'n_words': 263}