From 2751a59bd20c87447c0b487c37584784ff0575d4 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Wed, 17 Apr 2019 15:25:19 +0800 Subject: [PATCH] zero-pinyin: do not allow i to start sequence --- zero-pinyin.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zero-pinyin.el b/zero-pinyin.el index 22f74a0..7b656f1 100644 --- a/zero-pinyin.el +++ b/zero-pinyin.el @@ -90,6 +90,7 @@ "return t if char ch can start a preedit sequence." (and (>= ch ?a) (<= ch ?z) + (not (= ch ?i)) (not (= ch ?u)) (not (= ch ?v)))) @@ -100,6 +101,7 @@ (should (zero-pinyin-can-start-sequence ?z)) (should-not (zero-pinyin-can-start-sequence ?1)) (should-not (zero-pinyin-can-start-sequence ?.)) + (should-not (zero-pinyin-can-start-sequence ?i)) (should-not (zero-pinyin-can-start-sequence ?u)) (should-not (zero-pinyin-can-start-sequence ?v))) -- GitLab