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

Add let g:vimtex_doc_handlers to vimtex-latexdoc-offline help section #2330

Closed
Xystel opened this issue Feb 12, 2022 · 1 comment
Closed

Comments

@Xystel
Copy link

Xystel commented Feb 12, 2022

I wanted to view the documentation offline, so I read vimtex-latexdoc-offline help section. This suggested to set keywordprg=texdoc to open the documentation pdf. But the documentation was still opened online.

After searching in the Issues I found #2300, which suggested to set let g:vimtex_doc_handlers = ['vimtex#doc#handlers#texdoc'], which enabled the offline documentation. I would expect to see this option in the vimtex-latexdoc-offline help section. Also I wonder what function the option keyworgprg has.

lervag added a commit that referenced this issue Feb 13, 2022
@lervag
Copy link
Owner

lervag commented Feb 13, 2022

Thanks, I think I've improved the docs now. Let me know if you should disagree, and feel free to suggest further improvements.

The option keywordprg is a Vim option, see :help keywordprg for more info.

lervag added a commit that referenced this issue Feb 13, 2022
@lervag lervag closed this as completed Feb 13, 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