coder / coder/claudecode.nvim

[BUG] ClaudeCodeAdd fails on paths with spaces

Open
#314 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.