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

Fix / Workaround: Trigger TermLeave autocommands when in Terminal mode #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kogapf
Copy link

@kogapf kogapf commented Jun 9, 2020

hi there

i use ur plugin. however, my nvim config is such that when i leave Terminal Mode, i have numbers on the left and vise versa. this didn't work with opening a file with nvr inside a Terminal inside nvim.

i do not know whether this is a bug in neovim api itself that TermLeave event is not triggered, but i suspect so..

what this change does: detect whether were inside a terminal emulator. if so, leave terminal mode, then do as usual

best regards

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