coder / coder/claudecode.nvim

[BUG] ClaudeCodeAdd fails on paths with spaces

Offen Anfängerfreundlich
#314 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug needs-triage
Vorherrschende Sprache
Lua
Sterne
3.1k
Forks
216
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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",
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua, neovim
Bereich
documentation
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Aktiv
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
88/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.