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:
parent
2d709ab898
commit
5718319413
1 changed files with 11 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue