diff --git a/pangu-spacing.el b/pangu-spacing.el index 4c7157a..7157571 100644 --- a/pangu-spacing.el +++ b/pangu-spacing.el @@ -171,13 +171,13 @@ When you set t here, the space will be insert when you save file." (defvar pangu-spacing-include-regexp ;; we didn't add korean because korean-hangul-two-byte is not implemented (rx (or (and (or (group-n 3 (any "。,!?;:「」()、")) - (group-n 1 (or (category chinse-two-byte) + (group-n 1 (or (category chinese-two-byte) (category japanese-hiragana-two-byte) (category japanese-katakana-two-byte)))) (group-n 2 (in "a-zA-Z0-9"))) (and (group-n 1 (in "a-zA-Z0-9")) (or (group-n 3 (any "。,!?;:「」()、")) - (group-n 2 (or (category chinse-two-byte) + (group-n 2 (or (category chinese-two-byte) (category japanese-hiragana-two-byte) (category japanese-katakana-two-byte))))))) "Regexp to find Chinese character before English character.