From 9cc3e356af68abb40315105aa720d546251d3192 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 17 Mar 2021 21:21:31 -0700 Subject: [PATCH] Add some more ligatures supported by Fantasque Sans Mono --- oni-gui.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/oni-gui.el b/oni-gui.el index 927842a..5db457b 100644 --- a/oni-gui.el +++ b/oni-gui.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0316.232945 +;; Version: 2021.0317.212006 ;; Package-Requires: (oni-ui oni-hydra yoshi-theme diminish mode-icons) ;; This program is free software; you can redistribute it and/or modify @@ -78,7 +78,11 @@ If FRAME is nil, they’re set for the current frame." (?- . ,(regexp-opt '("->" "-->" "->>" "-<" "-<<"))) (?> . ,(regexp-opt '(">->" ">=>" ">>=" ">>-" ">-" ">=" ">>" ">>>"))) (?~ . ,(regexp-opt '("~~" "~>" "~~>"))) - (?| . ,(regexp-opt '("|>" "||>" "|||>")))))) + (?| . ,(regexp-opt '("|>" "||>" "|||>" "||"))) + (?: . ,(regexp-opt '("::"))) + (?& . ,(regexp-opt '("&&"))) + (?/ . ,(regexp-opt '("//" "/*"))) + (?* . ,(regexp-opt '("*/" "**/")))))) (dolist (char-regexp ligatures) (set-char-table-range composition-function-table (car char-regexp) `([,(cdr char-regexp) 0 font-shape-gstring])))))