de2bc07532
refactor: remove vim.g.cp_config compatibility shim
...
Problem: the deprecated vim.g.cp_config fallback was kept for
backwards compatibility after the rename to vim.g.cp in v0.7.6.
Solution: drop the shim entirely and update the setup() deprecation
target to v0.7.7.
2026-02-06 16:40:39 -05:00
d23b4e59d1
fix(setup): set language state before setup_code hook on first open
...
Problem: when opening a contest for the first time (metadata not
cached), the setup_code hook fired before state.set_language() was
called, causing state.get_language() to return nil inside the hook.
Solution: call state.set_language(lang) before the hook in the
provisional-buffer branch of setup_contest(). The value is already
computed at that point and is identical to what setup_problem() sets
later, so the early write is idempotent.
2026-02-06 16:29:46 -05:00
a54a06f939
refactor: rename vim.g.cp_config to vim.g.cp
2026-02-06 15:16:21 -05:00
276241447c
fix: add deprecation warning for setup()
luarocks / ci (push) Has been cancelled
luarocks / publish (push) Has been cancelled
2026-02-03 21:46:47 -05:00
ec487aa489
feat: config update to viom.g
2026-02-03 16:12:47 -05:00
c8f735617a
misc bugfixes
2026-02-02 13:13:08 -05:00
d496509fce
feat(config): improve config parsing phrasing
2026-01-27 17:33:16 -05:00
383b327442
fix(config): validate scraper names better
2026-01-27 17:32:21 -05:00
3f677137de
fix(config): one of validation
2026-01-27 17:27:15 -05:00
0a1cea9b43
feat: debug
2026-01-27 17:25:03 -05:00
d89a40b21f
feat: update git formatting
2026-01-27 17:18:52 -05:00
3348ac3e51
feat: improve formatting
2026-01-27 16:48:04 -05:00
ee38da5074
feat(layout): change formatting
2026-01-27 16:47:50 -05:00
9af359eb01
feat(layout): cleanup mode labels
2026-01-27 16:47:42 -05:00
0b21d02f24
fix(runner): save buffer before compile
2026-01-27 16:42:16 -05:00
282d701327
fix: minor log msg tweak
2026-01-27 16:10:00 -05:00
fb7888b83c
feat(highlight): use default highlights
2026-01-27 14:27:41 -05:00
4c5c44742e
feat: refactors
2026-01-27 14:23:23 -05:00
d4c5f08b5f
fix(render): change pending status text to symbol
2026-01-27 13:31:07 -05:00
0f513370ac
fix(render): fix table render in partial state
2026-01-27 13:30:32 -05:00
8969dbccf8
fix(panel): table rendering
2026-01-27 13:18:11 -05:00
ba26cee7f9
feat(run): make running entirely asynchronous
2026-01-27 12:55:35 -05:00
c8c0da6d61
fix(ci): format
2026-01-27 12:27:09 -05:00
d40d80c541
fix: race condition & logs
2026-01-27 12:22:53 -05:00
fa45d912b8
close out other bufs on source buf close
2025-12-31 13:06:25 -06:00
445059a498
fix(runner): proper debug msg
2025-12-18 14:43:03 -06:00
3a0c0de599
another log statement
2025-12-14 16:30:10 -06:00
10b3dcd846
fix: add debug log
2025-12-14 16:23:14 -06:00
99109f5e91
fix: cleanup picker message
2025-12-04 18:12:10 -05:00
Barrett Ruth
bbe04589b8
fix: fix uv conflict
2025-11-28 23:45:17 -05:00
Barrett Ruth
71863fde7f
fix(io): validate view later
2025-11-06 01:46:10 -05:00
Barrett Ruth
00987bb0ff
feat(io): cleanup view
2025-11-06 01:31:50 -05:00
Barrett Ruth
07e4372a4a
cleanup
2025-11-06 00:18:09 -05:00
Barrett Ruth
0e778a128e
Merge main into feat/io/view-togggle
...
Resolved conflicts:
- scrapers/atcoder.py: kept defensive if tests else '' checks
- scrapers/codechef.py: kept defensive if tests else '' checks
- tests/test_scrapers.py: kept comprehensive validation from main
- lua/cp/ui/views.lua: removed misplaced navigation code from loop
2025-11-05 23:01:04 -05:00
Barrett Ruth
d0f1dbf132
cleanup
2025-11-05 19:23:30 -05:00
Barrett Ruth
7d8d00c5ad
fix(ui): correct output buf
2025-11-05 13:10:17 -05:00
Barrett Ruth
13d931ed19
feat: update
2025-11-05 12:47:38 -05:00
Barrett Ruth
96c01bf796
cleanup
2025-11-04 23:47:06 -05:00
Barrett Ruth
127de3d6a5
fix
2025-11-04 23:39:43 -05:00
Barrett Ruth
1b0d5e4d77
feat: fix typign
2025-11-04 22:08:07 -05:00
Barrett Ruth
e1c8c4beaf
feat(cli): :CP run with numbered test cases
2025-11-04 21:45:45 -05:00
Barrett Ruth
71efb24cda
fix
2025-11-04 21:32:51 -05:00
Barrett Ruth
aab211902e
feat: multi-test case view
2025-11-04 21:32:40 -05:00
Barrett Ruth
9238118fbe
fix(ci): formatting
2025-11-04 08:33:56 -05:00
Barrett Ruth
6a61780928
fix(ci): typing
2025-11-04 08:19:14 -05:00
Barrett Ruth
fef73887e4
feat(io): multi-test case view
2025-11-04 08:15:08 -05:00
Barrett Ruth
91f85d066d
cleanup
2025-10-31 23:24:35 -04:00
Barrett Ruth
e89c2e1cf5
feat(codechef): finalize codechef impl
2025-10-25 01:41:55 -04:00
Barrett Ruth
2fda5a74ca
feat: codechef
2025-10-25 00:26:33 -04:00
Barrett Ruth
9b90e3a452
feat(ui): close all buffers on edit
2025-10-24 21:40:13 -04:00