Open vladdoster opened 2 years ago
Given the overall line length, I'd consider ts=2 sw=2
@pschmitt agreed.
Ive attempted formatting bits here and there, but is really tedious. Additionally, we need to find a way to enforce Zsh formatting. Do you know of any formatting tools for Zsh? To seriously consider shfmt would require changing all the conditional blocks to the more traditional bash syntax.
Edit: updated vim mode-line from 4 -> 2
PR | File |
---|---|
#318 | share/git-process-output.zsh |
#319 | share/rpm2cpio.zsh |
#325 | share/single-line.zsh |
_zinit |
|
zinit-additional.zsh |
|
zinit-autoload.zsh |
|
zinit-install.zshsh |
|
zinit.zsh |
Summary
Inconsistent line length & wrapping, making it hard to read, grok, and edit Zinit.
Examples:
Proposed fix
Add the following Vim Modeline to all Zinit source code: