aboutsummaryrefslogtreecommitdiff
path: root/modules/cj-cache-lib.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 01:07:49 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 01:07:49 -0500
commita097e33cbc2027b416f6d4160b55f69bca8c4660 (patch)
treecf43ff43bb30597fb357a8596ef300d89c019257 /modules/cj-cache-lib.el
parent902693e9ea8ccf56d24a977d3d407f585c6cf046 (diff)
downloaddotemacs-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/cj-cache-lib.el')
0 files changed, 0 insertions, 0 deletions