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

s:check_users_value() returns help suggestions that do not exist for options #685

Closed
agude opened this issue Apr 24, 2019 · 2 comments
Closed

Comments

@agude
Copy link
Contributor

agude commented Apr 24, 2019

For example, when I mis-set diary_rel_path (as in #684), it gives the error:

Vimwiki Error: The provided value '' of the option 'diary_rel_path' in g:vimwiki_list must have at least 1 character(s) but has 0. See ':h g:vimwiki_diary_rel_path'.

But running :h g:vimwiki_diary_rel_path gives the error:

E149: Sorry, no help for g:vimwiki_diary_rel_path

Instead, it should suggest:

:h vimwiki-option-diary_rel_path
@ranebrown
Copy link
Contributor

Thanks for pointing this out. There is a common function used for printing the error messages that needs updated for the wikilocal options. If you can make the change as part of your PR for #684 that would be great.

@agude
Copy link
Contributor Author

agude commented Apr 26, 2019

I'll give this one a go, but I suspect it will take me a bit to wrap my head around it.

@ranebrown ranebrown added the bug label Apr 26, 2019
@ranebrown ranebrown added this to Needs triage in Bug Triage Deprecated via automation Apr 26, 2019
Bug Triage Deprecated automation moved this from Needs triage to Closed May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants