diff options
author | Tom Willemse | 2021-03-17 21:21:31 -0700 |
---|---|---|
committer | Tom Willemse | 2021-03-17 21:21:31 -0700 |
commit | 9cc3e356af68abb40315105aa720d546251d3192 (patch) | |
tree | 297ceed7f2e0ad1186b568fbf06f0f6384dbf6e8 /oni-gui.el | |
parent | 85759a07d82f618e2d15adab738eb4f0d294e8d9 (diff) | |
download | emacs-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.el | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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]))))) |