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 | a097e33cbc2027b416f6d4160b55f69bca8c4660 (patch) | |
| tree | cf43ff43bb30597fb357a8596ef300d89c019257 /modules/help-utils.el | |
| parent | 902693e9ea8ccf56d24a977d3d407f585c6cf046 (diff) | |
| download | dotemacs-a097e33cbc2027b416f6d4160b55f69bca8c4660.tar.gz dotemacs-a097e33cbc2027b416f6d4160b55f69bca8c4660.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 'modules/help-utils.el')
0 files changed, 0 insertions, 0 deletions
