diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-12 18:00:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-12 18:00:50 -0500 |
| commit | 8e4134c9a82ea32391531d0a666d4ab8658ebc22 (patch) | |
| tree | e1ce92e031aebe6bc49f45c42e62cdb548fe226d /tests/test-custom-comments-delete-buffer-comments.el | |
| parent | 229df4ba9bd53254c8473207c5661730bb086fcf (diff) | |
| download | dotemacs-8e4134c9a82ea32391531d0a666d4ab8658ebc22.tar.gz dotemacs-8e4134c9a82ea32391531d0a666d4ab8658ebc22.zip | |
refactor(prog-webdev): extract the prettier format-command builder
I pulled the prettier command-string construction out of `cj/webdev-format-buffer` into `cj/--webdev-format-command`. The wrapper stays thin: resolve `(or buffer-file-name "file.ts")`, hand the command to `shell-command-on-region`, clamp point. With the command shape in a pure helper I can unit-test it directly.
Diffstat (limited to 'tests/test-custom-comments-delete-buffer-comments.el')
0 files changed, 0 insertions, 0 deletions
