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

No matching autocommands: UserUltestPositionsUpdate #98

Closed
trisys3 opened this issue Jan 26, 2022 · 2 comments
Closed

No matching autocommands: UserUltestPositionsUpdate #98

trisys3 opened this issue Jan 26, 2022 · 2 comments

Comments

@trisys3
Copy link

trisys3 commented Jan 26, 2022

Describe the bug
Like the title states, I'm getting No matching autocommands: UsetUltestPositionsUpdate in the status line.

To Reproduce
Steps to reproduce the behavior:

Run UltestStop or UltestStopNearest. The message appears whether or not any tests are currently running.

Expected behavior
No message claiming there aren't any auto-commands. I don't particularly care, and there are ways to check this for debugging purposes if I did care.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
This happens even if I remove all my vim-test & vim-ultest configuration from my vimrc. If you need my entire vimrc or you think any part of it could be causing this, or if you need any other info, please ask and I'll provide it if I can.

I'm using vim. The version is 8.2, with patches 1-3450. Not sure if this is the latest, but it's pretty darn recent.

rcarriga added a commit that referenced this issue Jan 30, 2022
Vim requires User autocmds to exist before emitting them.

See #98
@rcarriga
Copy link
Owner

Looks like Vim now requires autocmds to exist before calling them, I've added a workaround as suggested by the docs

@trisys3
Copy link
Author

trisys3 commented Jan 30, 2022

Thanks, that works!

And thanks for the great plugin, it makes testing much more convenient!

@trisys3 trisys3 closed this as completed Jan 30, 2022
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

No branches or pull requests

2 participants