Environments:
Steps to reproduce:
// Input
私はJavaScriptが好きです
Expected behavior:
Actual behavior:
For now, Prettier inserts whitespace between latin and Japanese/Chinese on formatting Markdown.
As mentioned in #5938, this is not good behavior for Japanese, but correct for Chinese.
I tried to avoid this problem in the same way as handling Korean language, but it was impossible because Japanese and Chinese uses same Kanji letter, with same char code.
From above reason, I think we should add new option like add-whitespace-between-latin-and-cj to determine whether whitespace is inserted between latin and cj.
Of cource it's the best if there is the way to distinguish Japanese and Chinese.
Environments:
Steps to reproduce:
Expected behavior:
Actual behavior:
For now, Prettier inserts whitespace between latin and Japanese/Chinese on formatting Markdown.
As mentioned in #5938, this is not good behavior for Japanese, but correct for Chinese.
I tried to avoid this problem in the same way as handling Korean language, but it was impossible because Japanese and Chinese uses same Kanji letter, with same char code.
From above reason, I think we should add new option like
add-whitespace-between-latin-and-cjto determine whether whitespace is inserted between latin and cj.Of cource it's the best if there is the way to distinguish Japanese and Chinese.