wenyan-lang/wenyan

[Feature request] Emacs and Vim support

c4dr01d opened this issue · 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. :)

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

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.

@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.

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

@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.

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

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

@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.

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

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

antfu commented

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

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