aboutsummaryrefslogtreecommitdiffstats
path: root/oni-gui.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-03-17 21:21:31 -0700
committerGravatar Tom Willemse2021-03-17 21:21:31 -0700
commit9cc3e356af68abb40315105aa720d546251d3192 (patch)
tree297ceed7f2e0ad1186b568fbf06f0f6384dbf6e8 /oni-gui.el
parent85759a07d82f618e2d15adab738eb4f0d294e8d9 (diff)
downloademacs-config-9cc3e356af68abb40315105aa720d546251d3192.tar.gz
emacs-config-9cc3e356af68abb40315105aa720d546251d3192.zip
Add some more ligatures supported by Fantasque Sans Mono
Diffstat (limited to 'oni-gui.el')
-rw-r--r--oni-gui.el8
1 files 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 <tom@ryuslash.org>
;; 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])))))