You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I write a German word (e.g. Kündigung), spaces are automatically inserted around ü, which is not sensible. This package should strictly only work on CJK characters.
I think this might have something to do with #17. However that is a really special use case, support for which should only be enabled via a dedicated variable, instead of by default.
The text was updated successfully, but these errors were encountered:
Looked into the source code a bit but not sure why this happened:
(defvarpangu-spacing-chinese-before-english-regexp
(rx (group-n 1 (category chinse-two-byte))
(group-n 2 (in "a-zA-Z0-9")))
"Regexp to find Chinese character before English character.")
(defvarpangu-spacing-chinese-after-english-regexp
(rx (group-n 1 (in "a-zA-Z0-9"))
(group-n 2 (category chinse-two-byte)))
"Regexp to find Chinese character after English character.")
(defvarpangu-spacing-chinese-before-english-regexp-exclude
(rx (group-n 1 (or (in "。,!?;:「」()、")))
(group-n 2 (in "a-zA-Z0-9")))
"Excluded regexp to find Chinese character before English character.")
(defvarpangu-spacing-chinese-after-english-regexp-exclude
(rx (group-n 1 (in "a-zA-Z0-9"))
(group-n 2 (or (in "。,!?;:「」()、"))))
"Excluded regexp to find Chinese character after English character.")
These functions doesn't seem to include any non-Chinese character?
If I write a German word (e.g. Kündigung), spaces are automatically inserted around ü, which is not sensible. This package should strictly only work on CJK characters.
I think this might have something to do with #17. However that is a really special use case, support for which should only be enabled via a dedicated variable, instead of by default.
The text was updated successfully, but these errors were encountered: