Remove the weird fl, ft, etc... ligatures

This commit is contained in:
Evie Litherland-Smith 2023-12-12 16:38:47 +00:00
parent d36dcea490
commit 01d599480f

View file

@ -295,13 +295,10 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
("~" (rx (or ">" "=" "-" "@" "~>" (+ "~")))) ("~" (rx (or ">" "=" "-" "@" "~>" (+ "~"))))
;; __ ___ ____ _|_ __|____|_ ;; __ ___ ____ _|_ __|____|_
("_" (rx (+ (or "_" "|")))) ("_" (rx (+ (or "_" "|"))))
;; Fira code: 0xFF 0x12
("0" (rx (and "x" (+ (in "A-F" "a-f" "0-9")))))
;; The few not covered by the regexps. ;; The few not covered by the regexps.
"{|" "[|" "]#" "(*" "}#" "$>" "^=")) "{|" "[|" "]#" "(*" "}#" "$>" "^="))
(ligature-set-ligatures 'prog-mode
'(;; Fira code: 0xFF 0x12
("0" (rx (and "x" (+ (in "A-F" "a-f" "0-9")))))
;; Fira code:
"Fl" "Tl" "fi" "fj" "fl" "ft"))
;; 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))