Links for README.org + increase timeout for load_sync #782
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.
Hello, this branch contains two commits:
the first one fixes the links on the top of the README.org file, creating custom_ids for all the needed headlines and using the
file:
notation for other files in the repository, thus making it easier to navigate the file while in Neovim;the second one increments the timeout of the promise for the
load_sync
method ofOrgFiles
to 15 seconds. I know it might sound a lot, but on very slow devices (for example my Android phone, where I use orgmode and org-roam a lot) loading my > 100 files takes slightly more than 5 seconds, and sometimes it fails and I am therefore forced to:Lazy reload
over and over again, until the caching of the OS is good and it loads in less than 5 seconds. I thought about having this timeout configurable or dynamic depending on the platform, but I am not sure the effort is worth. In the end, on PC you should not even see the difference.. tell me if you want me to do things differently, I'll be more than happy to modify the code!Edit: I am not sure why the
luarocks
step is failing, there might be an issue with the dependencies? I don't think it is related to my changes though!