diff --git a/init.el b/init.el index 0f6291c..8061ad9 100644 --- a/init.el +++ b/init.el @@ -67,6 +67,21 @@ :if (package-installed-p 'nerd-icons-corfu) :after nerd-icons) +(use-package ligature + :if (package-installed-p 'ligature) + :functions (ligature-set-ligatures + global-ligature-mode) + :config + (ligature-set-ligatures + '(prog-mode) + '(("<" (rx (= 1 "="))) + (">" (rx (= 1 "="))) + ("_" (rx (* "_"))) + ("-" (rx (* "-") (= 1 ">"))) + ("=" (rx (* "=") (? ">"))) + ("!" (rx (+ "="))))) + (global-ligature-mode +1)) + (use-package doom-modeline :if (package-installed-p 'doom-modeline) :functions (doom-modeline-mode)