We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75267a8 commit 6181bceCopy full SHA for 6181bce
dhall-mode.el
@@ -183,8 +183,8 @@ down. You can also disable type-checking entirely by setting
183
184
(reformatter-define dhall-format
185
:program (or dhall-format-command dhall-command)
186
- :args (let ((cmd (if dhall-format-with-ascii '("--ascii") '())))
187
- (if dhall-format-command cmd (cons "format" cmd)))
+ :args (append (unless dhall-format-command '("format"))
+ (when dhall-format-with-ascii '("--ascii")))
188
:group 'dhall
189
:lighter " DhFmt")
190
0 commit comments