[BUG] ClaudeCodeAdd fails on paths with spaces
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- lua, neovim
- Domain
- documentation
Research direction
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.
Written by the indexing model from the issue text.
Description
Bug Description
ClaudeCodeAdd with default keybinding fails on filepaths that contain spaces
To Reproduce
Steps to reproduce the behavior:
- Start Claude Code integration with a path containing spaces
- Run command 'ClaudeCodeAdd %'
- See error Too many arguments
Expected Behavior
Default command should handle paths with spaces.
Fix:
Update readme:
{
"<leader>ab",
function()
require("claudecode").send_at_mention(vim.fn.expand("%:p"), nil, nil, "ClaudeCodeAdd")
end,
desc = "Add current buffer",
}
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/claudecode.nvim
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
coder/claudecode.nvim#321 ·
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
coder/claudecode.nvim#313 ·
-
needs-triage
Difficulty 5/5 Over a week Newbie friendliness 20/100
coder/claudecode.nvim#319 · 2 reactions ·
-
[BUG] 框选文本一直抱错误信息Openbug needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 35/100
coder/claudecode.nvim#316 · 1 comment ·
-
needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 62/100
coder/claudecode.nvim#309 ·
All issues in coder/claudecode.nvim
Similar issues
-
ai-authored
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Data Correction Forever Needs testing/reproduction
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Questie/Questie#7941 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
remote remote-plugin
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day