Closed todesking closed 1 year ago
Thanks for your contribution!
It looks good, and I want to know that have you ever test this feature on any OS/environment?
Thanks!
I tested the plugin on VimR 0.44.0(NVIM 0.8.2) with macOS 13.3.1.
I changed value of set_default_im_on_focus_gained
from 1 to true, I think it's more clear for user.
Merged, thank you!
I'm so sorry that I removed set_default_im_on_focus_gained
option.
As compensation I have added FocusGained
into new option set_default_events
as the default.
The main purpose of this break change is that users can adjust the trigger enevts they need at will.
Hope to get your understanding ^_^
In macOS, when switching applications, the state of IM will be carried over from the previous application. In such a situation, resetting the state of IM to default on FocusGained can be helpful.