feat(emacs): toki pona ligatures
All checks were successful
build / build (push) Successful in 2m40s
All checks were successful
build / build (push) Successful in 2m40s
This commit is contained in:
@@ -22,11 +22,16 @@
|
||||
"/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||
"\\\\" "://"))
|
||||
;; Sitelen pona glyphs.
|
||||
(rx-let ((ideograph (any (#xF1900 . #xF198C))))
|
||||
(rx-let ((ideograph (any (#xF1900 . #xF198C)))
|
||||
(tok-punct (any "" ""))
|
||||
(arrow (any "←-↙"))
|
||||
(zwj ""))
|
||||
(ligature-set-ligatures
|
||||
'fundamental-mode
|
||||
`(("" ,(rx (* ideograph)))
|
||||
("" ,(rx "" (* ideograph))))))
|
||||
`(("" ,(rx (* (or ideograph tok-punct))))
|
||||
("" ,(rx "" (* (or ideograph tok-punct)) ""))
|
||||
("" ,(rx zwj arrow))
|
||||
("" ,(rx zwj ideograph)))))
|
||||
(global-ligature-mode 1))
|
||||
|
||||
(provide 'syd/ligature)
|
||||
|
||||
Reference in New Issue
Block a user