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 | 7312d4996dedd93429b9f9c9b51c96cf333e8260 (patch) | |
| tree | c0ff3a5ce83dbb2b0f4c01243b7714656c7fe683 /modules/selection-framework.el | |
| parent | 946fc5e1cfb4c1a078be55e054ab2bb51ee56066 (diff) | |
| download | dotemacs-7312d4996dedd93429b9f9c9b51c96cf333e8260.tar.gz dotemacs-7312d4996dedd93429b9f9c9b51c96cf333e8260.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 'modules/selection-framework.el')
0 files changed, 0 insertions, 0 deletions
