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

Per-document indentation style, and indent-style auto-detection. #245

Merged
merged 8 commits into from
Jun 15, 2021

Commits on Jun 14, 2021

  1. Attempt to auto-detect indentation style on document load.

    This also moves the primary indentation-style setting into Document.
    cessen committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    ab8ae04 View commit details
    Browse the repository at this point in the history
  2. Fix clippy warnings.

    cessen committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    7fec2ac View commit details
    Browse the repository at this point in the history
  3. Render indent-style status in status line.

    Also cleaned up the status line code a little.
    cessen committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    0d99e7a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    572fe74 View commit details
    Browse the repository at this point in the history
  5. Address PR comments.

    - Move char functions into their own module under helix_core.
    - Use matches!() macro where appropriate.
    - Use a static lifetime on indent_unit() now that we can.
    cessen committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    0830877 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1b80888 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    55ab783 View commit details
    Browse the repository at this point in the history
  8. Address PR comments.

    * Clean up "indent-style" command argument parsing.
    * Adjust command's name to match the style of other commands.
    * Add a "0" alias to the command, for tabs indent style.
    cessen committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    9d032ef View commit details
    Browse the repository at this point in the history