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 | e20d1bf71aac0f7bf4b7b21786c94bf221cfa25a (patch) | |
| tree | c0ff3a5ce83dbb2b0f4c01243b7714656c7fe683 /modules/selection-framework.el | |
| parent | c111f35a53912886cef0baeb7f8463b6ce63c014 (diff) | |
| download | dotemacs-e20d1bf71aac0f7bf4b7b21786c94bf221cfa25a.tar.gz dotemacs-e20d1bf71aac0f7bf4b7b21786c94bf221cfa25a.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
