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

fold: simplify fold_file() #561

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Commits on Apr 16, 2024

  1. fold: simplify fold_file()

    * The -b flag (bytes only) affects all file arguments
    * fold_file() was actually 2 functions; it contained the code for folding in byte-only mode, with early return
    * Declare a fold_file_byte() to clarify that column (default) and byte modes are separate
    mknos committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    cba569c View commit details
    Browse the repository at this point in the history