kopia lustrzana https://github.com/tonsky/FiraCode
Added logical and ` /\ ` and logical or ` \/ ` ligatures, U+2227 `∧` and U+2228 `∨` (#738)
rodzic
4d6514d988
commit
fb5098cf05
|
@ -48,6 +48,7 @@ All notable changes to this project will be documented in this file.
|
||||||
- U+2387 Alternative Key Symbol `⎇`
|
- U+2387 Alternative Key Symbol `⎇`
|
||||||
- U+238B Broken Circle with Northwest Arrow (Escape) `⎋`
|
- U+238B Broken Circle with Northwest Arrow (Escape) `⎋`
|
||||||
- U+23CF Eject symbol `⏏`
|
- U+23CF Eject symbol `⏏`
|
||||||
|
- Added logical and ` /\ ` and logical or ` \/ ` ligatures, U+2227 `∧` and U+2228 `∨` [#738]
|
||||||
|
|
||||||
#### 1.207 (April 6, 2019)
|
#### 1.207 (April 6, 2019)
|
||||||
|
|
||||||
|
|
151
FiraCode.glyphs
151
FiraCode.glyphs
File diff suppressed because one or more lines are too long
|
@ -101,6 +101,12 @@
|
||||||
["less" "dollar" "greater"]
|
["less" "dollar" "greater"]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(def manual? #{
|
||||||
|
;; /\ \/
|
||||||
|
["slash" "backslash"]
|
||||||
|
["backslash" "slash"]
|
||||||
|
})
|
||||||
|
|
||||||
(defn liga->rule
|
(defn liga->rule
|
||||||
"[f f i] => { [LIG LIG i] f_f_i.liga
|
"[f f i] => { [LIG LIG i] f_f_i.liga
|
||||||
[LIG f i] LIG
|
[LIG f i] LIG
|
||||||
|
@ -163,7 +169,7 @@
|
||||||
:when (str/ends-with? name ".liga")
|
:when (str/ends-with? name ".liga")
|
||||||
:let [[_ liga] (re-matches #"([a-z_]+)\.liga" name)]]
|
:let [[_ liga] (re-matches #"([a-z_]+)\.liga" name)]]
|
||||||
(str/split liga #"_")) ;; [ ["dash" "greater" "greater"] ... ]
|
(str/split liga #"_")) ;; [ ["dash" "greater" "greater"] ... ]
|
||||||
calt (->> ligas (sort-by count) (reverse) (map liga->rule) (str/join "\n\n"))
|
calt (->> ligas (remove manual?) (sort-by count) (reverse) (map liga->rule) (str/join "\n\n"))
|
||||||
font' (replace-calt font calt)]
|
font' (replace-calt font calt)]
|
||||||
|
|
||||||
(println "Saving" file "...")
|
(println "Saving" file "...")
|
||||||
|
|
Ładowanie…
Reference in New Issue