Add Recursive font

This commit is contained in:
Erwin Boskma 2024-09-10 19:27:30 +02:00
parent 37a417bd97
commit f56e6f5b9b
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
2 changed files with 29 additions and 25 deletions

View file

@ -55,9 +55,9 @@ Setting =lexical-binding= to =t= can improve startup time. This has to be first!
This sets some variables with my personal preferences for easy customization This sets some variables with my personal preferences for easy customization
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defvar my/default-font "MonaspiceNe Nerd Font") (defvar my/default-font "RecMonoLinear Nerd Font")
(defvar my/variable-width-font "Iosevka Aile") (defvar my/variable-width-font "Iosevka Aile")
(defvar my/comment-font "MonaspiceRn Nerd Font") (defvar my/comment-font "RecMonoCasual Nerd Font")
(defvar my/default-font-height 120) (defvar my/default-font-height 120)
(defvar my/default-font-weight 'light) (defvar my/default-font-weight 'light)
(defvar my/default-font-width 'normal) (defvar my/default-font-width 'normal)
@ -431,15 +431,11 @@ Emoji support
Enable ligatures Enable ligatures
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ligature (setq iosevka-ligatures '("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "<!--"
:config "<==" "<===" "<=" "=>" "=>>" "==>" "===>" ">=" "<=>" "<==>" "<===>" "<====>" "<!---"
;; Enable all Iosevka ligatures in programming modes "<~~" "<~" "~>" "~~>" "::" ":::" "==" "!=" "===" "!=="
;; (ligature-set-ligatures 'prog-mode '("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "<!--" ":=" ":-" ":+" "<*" "<*>" "*>" "<|" "<|>" "|>" "+:" "-:" "=:" "<******>" "++" "+++"))
;; "<==" "<===" "<=" "=>" "=>>" "==>" "===>" ">=" "<=>" "<==>" "<===>" "<====>" "<!---" (setq monaspace-ligatures '(
;; "<~~" "<~" "~>" "~~>" "::" ":::" "==" "!=" "===" "!=="
;; ":=" ":-" ":+" "<*" "<*>" "*>" "<|" "<|>" "|>" "+:" "-:" "=:" "<******>" "++" "+++"))
;; Ligatures for Monaspace
(ligature-set-ligatures 'prog-mode '(
; ss01 ; ss01
"==" "===" "=/=" "!=" "!==" "/=" "/==" "~~" "=~" "!~" "==" "===" "=/=" "!=" "!==" "/=" "/==" "~~" "=~" "!~"
; ss02 ; ss02
@ -458,6 +454,12 @@ Enable ligatures
".=" ".-" "..<" ".=" ".-" "..<"
; dlig & calt ; dlig & calt
"<!" "**" "::" "=:" "=!" "=/" "--" ".." "//" "&&" "||" ":=" ":>" ":<" "!!" ">:" "<:" "#=" "?:" "?." "??" ";;" "///" ":::" "..." "=!=" "=:=" "..=" "..-")) "<!" "**" "::" "=:" "=!" "=/" "--" ".." "//" "&&" "||" ":=" ":>" ":<" "!!" ">:" "<:" "#=" "?:" "?." "??" ";;" "///" ":::" "..." "=!=" "=:=" "..=" "..-"))
(use-package ligature
:config
;; Enable all Iosevka ligatures in programming modes
(ligature-set-ligatures 'prog-mode iosevka-ligatures)
;; Ligatures for Monaspace
;; Enables ligature checks globally in all buffers. You can also do it ;; Enables ligature checks globally in all buffers. You can also do it
;; per mode with `ligature-mode'. ;; per mode with `ligature-mode'.
(global-ligature-mode t)) (global-ligature-mode t))

View file

@ -33,6 +33,7 @@ in
"Meslo" "Meslo"
"Monaspace" "Monaspace"
"Noto" "Noto"
"Recursive"
]; ];
}) })
corefonts corefonts
@ -42,6 +43,7 @@ in
material-icons material-icons
monaspace monaspace
noto-fonts-emoji noto-fonts-emoji
recursive
ttf_bitstream_vera ttf_bitstream_vera
twitter-color-emoji twitter-color-emoji
] ]