Skip to content

prettier-elisp 0.4.0

Latest

Choose a tag to compare

@KarimAziev KarimAziev released this 22 Sep 15:18
4fb5fe9

Added

  • Add the :body-group form-break property for keeping repeated body arguments together, such as key/value pairs.
  • Add default form-break rules for pcase-let* and when-let*.

Fixed

  • Keep dolist binding lists beside the form name when their contents wrap.
  • Keep defvar-keymap key/value and keyword/value pairs on the same line.
  • Keep defgroup keywords beside their values when the pair fits.
  • Preserve width-aware header decisions for forms such as when instead of letting older symbol-specific rules force a newline.
  • Move arguments following multiline list expressions to a new line, avoiding Emacs's “Easy to misread” font-lock warning.