Problem: loading a problem whose source file already exists silently overwrites any content written by the user. Solution: when the target source file exists on the filesystem (`vim.uv.fs_stat`), show an inline `[y/N]` prompt. Declining keeps the existing file open and registers the platform/contest/problem state without touching the file. The prompt is skipped when the file is already loaded in a buffer. |
||
|---|---|---|
| .. | ||
| cp | ||