cp.nvim/lua/cp
Barrett Ruth 6a395af98f feat(config): add templates.cursor_marker for post-template cursor placement
Problem: after apply_template writes a file's content to the buffer,
cursor positioning was left entirely to the user's setup_code hook,
forcing everyone to reimplement the same placeholder-stripping logic.

Solution: add an optional templates.cursor_marker config key. When set,
apply_template scans the written lines for the marker, strips it, and
positions the cursor there via bufwinid so it works in both the
provisional and existing-file paths.
2026-03-03 00:46:59 -05:00
..
commands fix: cleanup picker message 2025-12-04 18:12:10 -05:00
pickers feat(io): cleanup view 2025-11-06 01:31:50 -05:00
runner style(runner): add luacats to compare_outputs 2026-02-26 23:02:40 -05:00
ui try to fix the setup 2026-02-18 14:13:37 -05:00
cache.lua feat: add epsilon tolerance for floating-point output comparison 2026-02-26 23:00:35 -05:00
config.lua feat(config): add templates.cursor_marker for post-template cursor placement 2026-03-03 00:46:59 -05:00
constants.lua feat: codechef 2025-10-25 00:26:33 -04:00
health.lua fix: replace deprecated vim.loop with vim.uv 2026-02-26 22:45:07 -05:00
helpers.lua feat(ui): auto-hide source buffer on close 2025-10-24 14:47:12 -04:00
init.lua fix: surface runtime check failures as clean notifications 2026-02-18 17:25:50 -05:00
log.lua fix(cache): contest override 2025-10-04 12:48:57 -04:00
restore.lua fix: don't always open new window 2025-10-12 20:31:11 -04:00
scraper.lua fix: replace deprecated vim.loop with vim.uv 2026-02-26 22:45:07 -05:00
setup.lua feat(config): add templates.cursor_marker for post-template cursor placement 2026-03-03 00:46:59 -05:00
state.lua fix: race condition & logs 2026-01-27 12:22:53 -05:00
utils.lua fix: replace deprecated vim.loop with vim.uv 2026-02-26 22:45:07 -05:00
version.lua fix: refactor 2025-09-21 11:19:00 -04:00