diff options
| -rw-r--r-- | early-init.el | 2 | ||||
| -rw-r--r-- | init.el | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/early-init.el b/early-init.el index 6856ba8..a7e503d 100644 --- a/early-init.el +++ b/early-init.el @@ -29,7 +29,7 @@ ;; Configure frame appearance BEFORE GUI initializes ;; This prevents the white flash on startup (setq default-frame-alist - '((font . "JetBrainsMono Nerd Font-10.5:weight=semi-bold:antialias=true:hinting=true:hintstyle=slight") + '((font . "0xProto Nerd Font-10.5:weight=semi-bold:antialias=true:hinting=true:hintstyle=slight") (background-color . "#003636") ;; Dark cyan background (foreground-color . "#8affff") ;; Bright cyan text (alpha-background . 75) ;; 75% opacity (GUI only) @@ -214,9 +214,9 @@ ;; Ligatures ;; ===================================== -;; Enable ligatures for JetBrains Mono +;; Enable ligatures for 0xProto ;; Uses composition-function-table for proper ligature rendering -(defconst jetbrains-mono-ligatures +(defconst 0xproto-ligatures '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-" "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".." "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||" @@ -233,12 +233,12 @@ "&=")) ;; Sort ligatures by length (longest first) to ensure proper matching -(setq jetbrains-mono-ligatures - (sort jetbrains-mono-ligatures +(setq 0xproto-ligatures + (sort 0xproto-ligatures (lambda (x y) (> (length x) (length y))))) ;; Register each ligature pattern in the composition function table -(dolist (ligature jetbrains-mono-ligatures) +(dolist (ligature 0xproto-ligatures) (let ((pattern (regexp-quote ligature)) (first-char (aref ligature 0))) (set-char-table-range composition-function-table |