docs: update requirements and credentials sections

Problem: docs referenced the old file-based credential backend
and `credentials_backend` config option that no longer exist.

Solution: add git 1.7.9+ to optional requirements, update
credentials section to document `git credential` as the sole
storage mechanism, remove `credentials_backend` from config
fields.
This commit is contained in:
Barrett Ruth 2026-03-07 19:46:49 -05:00
parent 2d709ab898
commit 5718319413
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -49,7 +49,8 @@ REQUIREMENTS *cp-requirements*
- Neovim 0.10.0+
- Unix-like operating system
- uv package manager (https://docs.astral.sh/uv/)
- (Optional) git 1.7.9+ (credential storage)
- (Optional) uv package manager (https://docs.astral.sh/uv/)
==============================================================================
SETUP *cp-setup*
@ -998,8 +999,15 @@ CREDENTIALS *cp-credentials*
Manage stored login credentials for platform submission.
Credentials are stored under _credentials in the main cache file
(stdpath('data')/cp-nvim.json). Use :CP cache read to inspect them.
Credentials are stored via git-credential(1), using whatever credential
helper is configured in your git config (macOS Keychain, libsecret,
credential-store, etc.). Git is required. Cookie files
(~/.cache/cp-nvim/cookies.json) are unaffected.
To inspect stored credentials:
>sh
printf 'protocol=https\nhost=cses.fi\n\n' | git credential fill
<
:CP login [platform]
Set or update credentials for a platform. Prompts for username