Enable ligatures in sgml-mode
This commit is contained in:
parent
3c3ae72a63
commit
50c78b3a0e
3
init.el
3
init.el
@ -1335,7 +1335,7 @@ DOCSTRING is an optional form that is discarded upon expansion."
|
||||
"Enables support for mapping characters to ligatures."
|
||||
:config
|
||||
(ligature-set-ligatures
|
||||
'prog-mode
|
||||
'(sgml-mode prog-mode)
|
||||
'(;; This set of ligatures is for Fira Code, but
|
||||
;; should work for most any font with ligatures:
|
||||
;; && &&&
|
||||
@ -1389,6 +1389,7 @@ DOCSTRING is an optional form that is discarded upon expansion."
|
||||
("0" (rx (and "x" (+ (in "A-F" "a-f" "0-9")))))
|
||||
"Fl" "Tl" "fi" "fj" "fl" "ft"))
|
||||
:hook
|
||||
(sgml-mode-hook . ligature-mode)
|
||||
(prog-mode-hook . ligature-mode))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
|
Loading…
Reference in New Issue
Block a user