Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible fix for issue #4642: use ModeChanged events instead of InsertLeave emulation #4738

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 9, 2024

  1. Fix 4642:

    If the ModeChanged event is available, use it instead of InsertLeave
    emulation.
    
    ModeChanged works in any case, even when using <C-c> or other shortcuts
    to exit the insert mode.
    
    Added a delay when exiting edit mode to avoid staying in Insert mode
    while the linter is running.
    zlogic committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    bd85c70 View commit details
    Browse the repository at this point in the history
  2. Remove delay when linting in insert leave.

    Seems like it's more of an internal Vim quirk.
    zlogic committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    0777514 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Updated tests.

    zlogic committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9f9d49e View commit details
    Browse the repository at this point in the history