coder / coder/claudecode.nvim

[BUG] ClaudeCodeAdd fails on paths with spaces

Aperta Adatta ai principianti
#314 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug needs-triage
Lingua principale
Lua
Stelle
3.1k
Fork
216
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Bug Description

ClaudeCodeAdd with default keybinding fails on filepaths that contain spaces

## To Reproduce

Steps to reproduce the behavior:

1. Start Claude Code integration with a path containing spaces
2. Run command 'ClaudeCodeAdd %'
3. See error Too many arguments

## Expected Behavior

Default command should handle paths with spaces.

## Fix:
Update readme:

```
{
"ab",
function()
require("claudecode").send_at_mention(vim.fn.expand("%:p"), nil, nil, "ClaudeCodeAdd")
end,
desc = "Add current buffer",
}
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Update the README's default ClaudeCodeAdd keybinding using the Lua example in the issue. Check the documented command with a current buffer whose path contains spaces and confirm it no longer produces the "Too many arguments" error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua, neovim
Ambito
documentation
Tipo di issue
Bug
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
88/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.