diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 01:07:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 01:07:49 -0500 |
| commit | e272eb30e0354b2a74d7286aa3b83c0dd745d582 (patch) | |
| tree | fdbb4d810648e699a20d1b9b1da43db67054c2dd /custom | |
| parent | 2498ed1a04f16178fa661c1a4739253b661f9555 (diff) | |
| download | dotemacs-e272eb30e0354b2a74d7286aa3b83c0dd745d582.tar.gz dotemacs-e272eb30e0354b2a74d7286aa3b83c0dd745d582.zip | |
test(prog-python+webdev): cover the per-buffer setup mode hooks
`cj/python-setup` and `cj/webdev-setup` are the per-buffer preference functions wired into `python-ts-mode` / `typescript-ts-mode` / `tsx-ts-mode` / `js-ts-mode`. Sibling tests covered the command builders and prettier/mypy wrappers but not these. 9 new tests across two files cover, for each setup:
- the setq-local pairs (fill-column, tab-width, standard-indent, indent-tabs-mode) land at the language's defaults (Python: 80/4/4/nil; webdev: 100/2/2/nil),
- the mode helpers (company, flyspell-prog, superword, electric-pair-local) all get called,
- LSP gating: starts when the language server binary is on PATH, skips otherwise.
Plus a check that `cj/webdev-keybindings` binds `C-; f` to the prettier wrapper.
External modes and `executable-find` / `lsp-deferred` are stubbed so the tests run without a Python or Node toolchain.
Diffstat (limited to 'custom')
0 files changed, 0 insertions, 0 deletions
