[BUG] ClaudeCodeAdd fails on paths with spaces
Open
bug
needs-triage
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
## 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",
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.