Closed iamFIREcracker closed 3 years ago
Currently, when indenting a form that includes a bunch of empty lines, lispindent will leave some trailing whitespaces in there:
lispindent
(asdf:defsystem #:cg :description "Matteo's command guesser" ⌴⌴ :author "Matteo Landi <matteo@matteolandi.net>" :license "MIT"
This PR fixes the problem, by making sure whitespaces are written on stdout only if the current line, after it's been trimmed of all the whitespaces, winds up to be non-empty.
(asdf:defsystem #:cg :description "Matteo's command guesser" :author "Matteo Landi <matteo@matteolandi.net>" :license "MIT"
This commit seems to fix this, so I am going to close this PR.
Oops, been busy on other stuff. Apologies and thanks!
Currently, when indenting a form that includes a bunch of empty lines,
lispindent
will leave some trailing whitespaces in there:This PR fixes the problem, by making sure whitespaces are written on stdout only if the current line, after it's been trimmed of all the whitespaces, winds up to be non-empty.