-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Consider converting to an autoload
-able function
#252
Comments
Using |
Note also the workers/40327 changes to |
workers/40458 mentions a useful "autoload a number of related functions" that's now possible in 5.4-to-be. |
Will the highlighter interface change to allow for autoloaded highlighters? |
From a mile high view, I assume that'd be an improvement. |
Once that's done we can also |
Cross-referencing #688. |
Triage: Trivial to implement (see https://github.com/okapia/zsh-viexchange/blob/339dc2d8c4d8a164c7b441d0c1e6442b0b38b3d0/zsh-viexchange.plugin.zsh#L1-L4), will help with #688 (resilience to user's setopts) and #635/#734 (loading performance): milestone 0.8.0 optimistically, but may defer this to 0.9.0 after all (e.g., if this turns out to have to be merged after redrawhook). |
It would be useful to merge this only after redrawhook, simply because that's the easiest way to avoid spurious conflicts in that merge. (Fixing this will involve renaming the entry point file and creating a stub in its stead; git would then conflict, rather than merge conflict-freely to the renamed file.) |
Consider converting zsh-syntax-highlighting from a
source
d script to anautoload
ed function. Benefits include better isolation from calling environment andzcompile
byte-compliation support.The text was updated successfully, but these errors were encountered: