<commit_before>;;; core-ui.el -*- lexical-binding: t; -*-

(defvar doom-fringe-size '4
  "Default fringe width.")

(defvar doom-theme nil
  "A symbol representing the color theme to load.")

(defvar doom-font nil
  "The default font to use. Expects a FONT-SPEC (`font-spec').")

(defvar doom-big-font nil
  "The default font to use. Expects a FONT-SPEC (`font-spec').")

(defvar doom-variable-pitch-font nil
  "The default font to use for variable-pitch text. Expects a FONT-SPEC (`font-spec').")

(defvar doom-unicode-font nil
  "Fallback font for unicode glyphs. Is ignored if :feature unicode is active.")

(defvar doom-major-mode-names
  '((sh-mode . "sh")
    (emacs-lisp-mode . "Elisp"))
  "An alist mapping major modes symbols to strings (or functions that will
return a string). This changes the 'long' name of a major-mode, allowing for
shorter major mode name in the mode-line. See `doom|set-mode-name'.")

;; Line numbers
(defvar doom-line-number-lpad 4
  "How much padding to place before line numbers.")

(defvar doom-line-number-rpad 1
  "How much padding to place after line numbers.")

(defvar doom-line-number-pad-char ?\u2002
  "Character to use for padding line numbers. We use an exotic 'space-looking'
character so that `whitespace-mode' won't replace spaces inside the line number
overlay.")

;; Hook(s)
(defvar doom-init-ui-hook nil
  "List of hooks to run when the theme and font is initialized (or reloaded with
`doom/reload-theme').")


;; Settings
(def-setting! :theme (theme)
  `(unless doom-theme
     (setq doom-theme ,theme)))<commit_msg>Change doom-line-number-pad-char default to space<commit_after>;;; core-ui.el -*- lexical-binding: t; -*-

(defvar doom-fringe-size '4
  "Default fringe width.")

(defvar doom-theme nil
  "A symbol representing the color theme to load.")

(defvar doom-font nil
  "The default font to use. Expects a FONT-SPEC (`font-spec').")

(defvar doom-big-font nil
  "The default font to use. Expects a FONT-SPEC (`font-spec').")

(defvar doom-variable-pitch-font nil
  "The default font to use for variable-pitch text. Expects a FONT-SPEC (`font-spec').")

(defvar doom-unicode-font nil
  "Fallback font for unicode glyphs. Is ignored if :feature unicode is active.")

(defvar doom-major-mode-names
  '((sh-mode . "sh")
    (emacs-lisp-mode . "Elisp"))
  "An alist mapping major modes symbols to strings (or functions that will
return a string). This changes the 'long' name of a major-mode, allowing for
shorter major mode name in the mode-line. See `doom|set-mode-name'.")

;; Line numbers
(defvar doom-line-number-lpad 4
  "How much padding to place before line numbers.")

(defvar doom-line-number-rpad 1
  "How much padding to place after line numbers.")

(defvar doom-line-number-pad-char 32
  "Character to use for padding line numbers.

By default, this is a space key. If you use `whitespace-mode' with `space-mark',
the whitespace in line numbers will be affected (this can look ugly). In this
case, you can change this to ?\u2002, which is a unicode character that looks
like a space that `whitespace-mode' won't affect.")


;; Hook(s)
(defvar doom-init-ui-hook nil
  "List of hooks to run when the theme and font is initialized (or reloaded with
`doom/reload-theme').")


;; Settings
(def-setting! :theme (theme)
  `(unless doom-theme
     (setq doom-theme ,theme)))
{'fraction_non_alphanumeric': 0.12020383693045564, 'fraction_numerical': 0.004796163069544364, 'mean_word_length': 3.8014388489208635, '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': '1148892', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1055, 'n_words': 424}