-
Notifications
You must be signed in to change notification settings - Fork 175
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
Feature Request: :checkhealth
check for duplicate mappings
#34
Comments
I actually added a checkhealth today that does some checks already. I can easily add in a dup check as well. |
But feel free to add a PR for this. Thanks! |
On second thought it might be better if you add it (if you're willing to and it's not too much work). I can't find where I should add it and I'm worried that I'd introduce a bug or some inconsistency. |
Added! |
Thanks a bunch! Sorry I chickened out |
Looks like I'm having the same error as zlksnk but on the upside, it only happens when there are duplicates so it still somewhat works |
Sorry about that. Fixed that nil error. It means you have a duplicate global mapping :) |
Ran |
just checked and yep I'm getting the exact same thing |
My bad, but just fixed it. Think I need some sleep 😅 |
It will show a message about buf=0, which is actually a global mapping. |
Still need to document what is being shown in healthcheck:
|
Works perfectly now thanks! |
I have my mappings separated into different files by plugin and right now if I overwrite one mapping with a different one it can be hard to tell that I did. I'd like to have a config option to enable checks for overriding mappings. If this is a feature you're okay with I'd be willing to do a pr for it.
The text was updated successfully, but these errors were encountered: