.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

commit 046152d7742cfd863ec7dcc172f603913130b22d
parent 1963e0f3b7b0d22a49ed04f8136f798f22a43fdf
Author: andsy10 <andsy1016@gmail.com>
Date:   Fri, 16 Oct 2026 00:38:11 +0800

Integrate orderless completion with pinyinlib

Diffstat:
Mlisp/init-edit.el | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/lisp/init-edit.el b/lisp/init-edit.el @@ -77,6 +77,15 @@ (setq expand-region-reset-fast-key "r") (setq expand-region-contract-fast-key "c")) +;; pinyinlib +(my-use-package pinyinlib + :config + (with-eval-after-load 'orderless + (defun my/orderless-pinyin (component) + (orderless-regexp + (pinyinlib-build-regexp-string component))) + (add-to-list 'orderless-matching-styles #'my/orderless-pinyin))) + ;; Chinese support for avy (my-use-package ace-pinyin :delight