Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 606 Bytes

README.org

File metadata and controls

27 lines (22 loc) · 606 Bytes

perltidy.el

This is a version of perltidy.el that has been modified so that it can find the closest .perltidyrc to use (thanks Zakame), and the ability to format on-save for perl-mode and cperl-mode.

Getting Started

Install

Straight.el

(straight-use-package
 '(perltidy
   :type git
   :host github
   :repo "perl-ide/perltidy.el"
   :branch "master"))

Configure

(require 'perltidy)
(setq perltidy-on-save t)