wenyan icon indicating copy to clipboard operation
wenyan copied to clipboard

[Feature request] Emacs and Vim support

Open ghost opened this issue 5 years ago • 9 comments

Hi, your idea is great, use ancient Chinese to write a software, I don't know you can write a Emacs and Vim plugins for your wenyan language, not only for VSCode, maybe can let yours language more popular at programmers. :)

ghost avatar Dec 18 '19 07:12 ghost

And.. I saw the README's example, can support Chinese Simplified?

c4dr01d avatar Dec 18 '19 07:12 c4dr01d

Hi there, thanks for the great proposal. Unfortunately I'm not familiar with the plugin environment for vim/emacs. But if anyone would like to contribute plugins for any editor, it would be greatly appreciated and I'll gladly list it in the README.

LingDong- avatar Dec 18 '19 08:12 LingDong-

@c4dr01d

And.. I saw the README's example, can support Chinese Simplified?

Simplified Chinese is a bad idea, definitely. Ancient Chinese is supposed to be written in traditional Chinese characters.

ghost avatar Dec 18 '19 09:12 ghost

@Mr-indescribable I mean, support Simplified Chinese and Ancient Chinese both, programmers can choose from it, not replace from Ancient Chinese to Chinese Simplified.

c4dr01d avatar Dec 18 '19 10:12 c4dr01d

@Mr-indescribable In other words, is to adapt to the habits of programmers, because after all, domestic programmers have the habit of using Chinese Simplified and the habit of Chinese Traditional, it is impossible to let the habit of Chinese Simplified programmers to use Chinese Traditional programming it.

c4dr01d avatar Dec 18 '19 10:12 c4dr01d

Hi, I just wrote a simple vim plug-in for wenyan-lang. See https://github.com/voldikss/vim-wenyan

voldikss avatar Dec 18 '19 15:12 voldikss

@voldikss Looks very nice, thanks a lot for the plug-in! I added it to the README: 356e77ab62a3ebe095c9dbbc78c40037a67938f2

@c4dr01d The main concern is that Traditional and Simplified Chinese is not bijective (hard to convert from one to another without error like 云->云?雲?). So I think in the end it would be quite messy when some developers write in Simplified and some write in Traditional Chinese. Since people tend to copy paste code everywhere, you'll have a file of mixed Simplified Chinese and Traditional Chinese. Therefore I think for now it would be better to just stick to one, in the future, when the language has matured enough, we can consider adding Simplified Chinese. Thanks.

LingDong- avatar Dec 18 '19 15:12 LingDong-

而且..我看过README的例子,可以支持简体中文吗?

OH.I'm thinking about the same question!!!

yangfjf avatar Jan 26 '20 08:01 yangfjf

@yangfjf For simplified Chinese support you can check out this great package

https://github.com/lymslive/wyg-packages/tree/jiantihua

antfu avatar Jan 26 '20 08:01 antfu