       image-animate-loop t
       indicate-buffer-boundaries nil
       indicate-empty-lines nil
-      jit-lock-defer-time nil
-      jit-lock-stealth-nice 0.1
-      jit-lock-stealth-time 0.2
-      jit-lock-stealth-verbose nil
       max-mini-window-height 0.3
       mode-line-default-help-echo nil  ; disable mode-line mouseovers
       redisplay-dont-pause t         ; don't pause display on input

;; core-ui.el --- draw me like one of your French editors

(defvar doom-ui-fringe-size '3
  "Default fringe width")

(defvar doom-ui-theme 'doom-one
  "The color theme currently in use.")

(defvar doom-ui-font
  (font-spec :family "Fira Mono" :size 12)
  "The font currently in use.")

(defvar doom-ui-variable-pitch-font
  (font-spec :family "Fira Sans" :size 12)
  "The font currently in use.")

(defvar doom-ui-unicode-font
  (font-spec :family "DejaVu Sans Mono" :size 12)
  "Fallback font for unicode glyphs.")

(setq bidi-display-reordering nil ; disable bidirectional text for tiny performance boost
      blink-matching-paren nil ; don't blink--too distracting
      cursor-in-non-selected-windows nil
      echo-keystrokes 0.02
      frame-inhibit-implied-resize t
      ;; remove continuation arrow on right fringe
      fringe-indicator-alist (delq (assq 'continuation fringe-indicator-alist)

    'nlinum-mode)

  :config
  (defun doom/toggle-line-numbers ()
    "Toggle `nlinum-mode'."
    (interactive)
    (nlinum-mode (if nlinum-mode -1 +1)))

  ;; Optimization: calculate line number column width beforehand
  (add-hook! nlinum-mode
