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

LeaderfHelp does not show all help tags #332

Closed
2 of 6 tasks
silver246 opened this issue Jun 9, 2019 · 2 comments
Closed
2 of 6 tasks

LeaderfHelp does not show all help tags #332

silver246 opened this issue Jun 9, 2019 · 2 comments
Labels

Comments

@silver246
Copy link

  • vim or neovim?

    • vim
    • neovim
  • Output of vim --version or nvim --version:
    VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58)
    Included patches: 1-1453

  • Output of :echo has("python"):
    0

  • Output of :echo has("python3"):
    1

  • Output of :py3 print(sys.version):
    3.6.7 (default, Oct 22 2018, 11:32:17)
    [GCC 8.2.0]

  • Operating system:

    • Linux
    • Mac OS X
    • Windows
    • Etc.

Describe your question, feature request, or bug.

:LeaderfHelp only shows help tags for installed plugins under the home directory (~/.vim/...)

Steps to reproduce

Execute :LeaderfHelp

Actual behaviour

Shows help tags for installed plugins under the home directory (~/.vim/...)

Expected behaviour

Shows all help tags including /usr/share/vim/vim80/doc/tags

Steps to fix the problem

in helpExpl.py change line 32:
with lfOpen(tags_file, 'r+', errors='ignore') as f:
to
with lfOpen(tags_file, 'r', errors='ignore') as f:

The 'r+' tries to open /usr/share/vim/vim80/doc/tags for reading and writing which causes a IOError: [Errno 13] Permission denied exception.
The 'r' opens the file in read only mode which then works as expected.

Yggdroot added a commit that referenced this issue Jun 10, 2019
@Yggdroot
Copy link
Owner

Fixed, thanks.

@Yggdroot Yggdroot added the bug label Jun 10, 2019
@silver246
Copy link
Author

Works now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants