Open kls1991 opened 11 months ago
Good idea!
I will try it ASAP. If it works as expect, I will merge it.
I don't abonden this issue, but in the last few months my PC has been far away from me, so I can't do the migration.
I will continue this work in May 2024.
Sorry for delay, but my computer is still on the way _(:з」∠)_
I will test this solution as soon as possible when I receive my computer.
Sorry for delay, but my computer is still on the way (:з」∠)
I will test this solution as soon as possible when I receive my computer.
I tested, it's worked perfectly
Thinks for your help
I find that we can use luajit ffi to call win32api to control keyboard layout and ime state on Windows, without the burden of a extra binary and another language pack. I'm not a pro coder yet, so I'm not confident enough to make a good pull request. Below code is my personal config which doesn't support switching between keyboard-layouts, I think it's doable by similar method. If a pull request is needed, I can try to read im-select.nvim's source code and make a configurable pull request. Feel free to use below code with ❤️