Skip to content

全面拥抱 im-control#21

Open
VimWei wants to merge 3 commits into
brglng:masterfrom
VimWei:im-control
Open

全面拥抱 im-control#21
VimWei wants to merge 3 commits into
brglng:masterfrom
VimWei:im-control

Conversation

VimWei added 3 commits July 3, 2026 09:59
- Integrate external im-control command for input method switching on events.
- Correct gvim early-exit condition to only apply on macOS.
- Add empty on_stdout and on_stderr for Neovim job object.
- Add empty out_cb and err_cb for Vim job object and pass to job_start.
- Simplify Windows/WSL configuration to use fixed command.
OPENCLOSE and CONVERSION compartments have separate responsibilities:
OPENCLOSE manages IME enable/disable, CONVERSION manages Chinese/English.
Sending -k open on every insert enter/leave was redundant (OPENCLOSE
is already open during normal editing) and could trigger Weasel's
OPENCLOSE handler blind-toggle of ascii_mode on Windows 11, racing
with the CONVERSION handler.

Now only -c is sent. The CONVERSION handler alone switches mode,
matching the compartment separation principle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant