doc: Note on lazy loading and inverse search#2560
Merged
lervag merged 1 commit intolervag:masterfrom Nov 6, 2022
Merged
Conversation
Owner
|
I don't agree with this, because there is simply no reason to lazily load VimTeX. It is already lazily loaded by virtue of being a filetype plugin. People should not cope with it as you suggest, they should just not lazily load VimTeX. However, it may be worth mentioning this somewhere, because this particular issue does show up once in a while. Perhaps we should add a note in the README? |
Using lazy loading of certain plugin managers with VimTeX is discouraged. Add a note on this in installation notes in the README. One particular reason is a complication for inverse search. Add a corresponding note in the documentation.
1807a6c to
5e8a8d9
Compare
Contributor
Author
|
That is a good and valid point. Thank you for pointing it out. I changed the proposed pull request to adding notes on discouragement of lazy loading VimTeX. |
lervag
added a commit
that referenced
this pull request
Nov 6, 2022
Owner
|
Thanks! I took the liberty of rephrasing it while merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The provided command lines for inverse search do not work when VimTeX is loaded lazily only for tex files, as provided by various plugin managers. Add a note on how to cope with that.