cp.nvim/lua/cp
Barrett Ruth 6045042dfb fix: surface runtime check failures as clean notifications
Problem: when required dependencies (GNU time/timeout, Python env) are
missing, config.setup() throws a raw error() that surfaces as a Lua
traceback. On macOS without coreutils the message is also redundant
("GNU time not found: GNU time not found") and offers no install hint.

Solution: wrap config.setup() in pcall inside ensure_initialized(),
strip the Lua source-location prefix, and emit a vim.notify at ERROR
level. Add Darwin-specific install guidance to the GNU time/timeout
not-found messages. Pass capability reasons directly instead of
wrapping them in a redundant outer message.
2026-02-18 17:25:50 -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 misc bugfixes 2026-02-02 13:13:08 -05:00
ui try to fix the setup 2026-02-18 14:13:37 -05:00
cache.lua cleanup 2025-11-05 19:23:30 -05:00
config.lua feat(config): improve config parsing phrasing 2026-01-27 17:33:16 -05:00
constants.lua feat: codechef 2025-10-25 00:26:33 -04:00
health.lua feat(nix): add health 2026-02-18 14:13:37 -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(ci): format 2026-02-18 14:13:37 -05:00
setup.lua fix(setup): set language state before setup_code hook on first open 2026-02-06 16:29:46 -05:00
state.lua fix: race condition & logs 2026-01-27 12:22:53 -05:00
utils.lua fix: surface runtime check failures as clean notifications 2026-02-18 17:25:50 -05:00
version.lua fix: refactor 2025-09-21 11:19:00 -04:00