Skip to content

Commit

Permalink
feat(emacs): enable ligatures
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Dec 19, 2024
1 parent 6533cb5 commit 0629760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@
(set-face-attribute 'default nil :family "JetBrainsMono Nerd Font" :height 130 :weight 'semi-bold)

(use-package ligature
:init
(global-ligature-mode)
:config
(ligature-set-ligatures 'prog-mode '("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "<!--"
"<==" "<===" "<=" "=>" "=>>" "==>" "===>" ">=" "<=>" "<==>" "<===>" "<====>" "<!---"
Expand Down

0 comments on commit 0629760

Please sign in to comment.