diff options
| author | Mohsin Kaleem <mohkale@kisara.moe> | 2023-03-12 10:22:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-12 10:22:36 +0000 |
| commit | 3e93610387684567ee133e3e62088a3a1a142120 (patch) | |
| tree | e01c42264a7098691937bec5f699666f92d89cd7 /test | |
| parent | 60f897a3a08533688bb476ecefe87e16d7a2e24f (diff) | |
Separate formatters definitions from core apheleia library (#161)
Moves the bulk of apheleia.el into a new apheleia-core.el file and move
formatter definitions and mode-associations into a new
apheleia-formatters.el file. The end user experience should be
unchanged. Loading `apheleia.el` will still load everything load
everything, just like it used to.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/formatters/apheleia-ft.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/formatters/apheleia-ft.el b/test/formatters/apheleia-ft.el index b560441..5a61ffb 100755 --- a/test/formatters/apheleia-ft.el +++ b/test/formatters/apheleia-ft.el @@ -261,6 +261,7 @@ environment variable, defaulting to all formatters." (when (memq 'output syms) (setq out-temp-file (apheleia-ft--write-temp-file "" extension))) + (setq command (delq 'npx command)) (setq command (mapcar (lambda (arg) @@ -275,7 +276,6 @@ environment variable, defaulting to all formatters." arg) (_ (eval arg)))) command)) - (setq command (delq 'npx command)) (setq stdout-buffer (get-buffer-create (format "*apheleia-ft-stdout-%S" formatter))) (setq exit-status |
