mirror of
https://github.com/harivansh-afk/cp.nvim.git
synced 2026-04-15 07:04:45 +00:00
Problem: tbl_deep_extend merges user platforms on top of defaults, so all four default platforms survive even when the user only configures a subset. The picker then shows platforms the user never intended to use. Solution: before the deep merge, prune any default platform not present in the user's platforms table. This preserves per-platform default filling (the user doesn't have to re-specify every field) while ensuring only explicitly configured platforms appear. |
||
|---|---|---|
| .. | ||
| commands | ||
| pickers | ||
| runner | ||
| ui | ||
| cache.lua | ||
| config.lua | ||
| constants.lua | ||
| health.lua | ||
| helpers.lua | ||
| init.lua | ||
| log.lua | ||
| restore.lua | ||
| scraper.lua | ||
| setup.lua | ||
| state.lua | ||
| utils.lua | ||
| version.lua | ||