[BUG] ClaudeCodeAdd fails on paths with spaces
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 88/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- lua, neovim
调研方向
使用 issue 中的 Lua 示例更新 README 的默认 ClaudeCodeAdd 键绑定。使用路径包含空格的当前 buffer 检查文档中的命令,并确认它不再产生 "Too many arguments" 错误。
由索引模型根据 Issue 内容生成。
描述
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",
}
- 主要语言
- Lua
- 星标
- 3.1k
- 派生
- 219
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/claudecode.nvim 的其他 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 84/100
coder/claudecode.nvim#321 ·
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
coder/claudecode.nvim#313 ·
-
needs-triage
难度 5/5 一周以上 新手友好度 20/100
coder/claudecode.nvim#319 · 9 个 reaction ·
-
[BUG] 框选文本一直抱错误信息可能已有人在做 @DukeLog 于 44 天前认领。 未关闭bug needs-triage
难度 4/5 3-5 天 新手友好度 35/100
coder/claudecode.nvim#316 · 1 条评论 ·
-
needs-triage
难度 3/5 1-2 天 新手友好度 62/100
coder/claudecode.nvim#309 ·
查看 coder/claudecode.nvim 的全部 Issue
相似的 Issue
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
eugenioenko/ttt#919 · 1 条评论 ·
维护者通常 1 天内回复
-
Profiler (Remotery) leaks a socket for every connection that fails the WebSocket handshake可能已有人在做 @rthery 今天认领。 未关闭triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
koreader/koreader#16242 · 1 条评论 ·
维护者通常 1 天内回复
-
Mosquito: LOOP_ANT_LOCK reads the IFF detonator cover可能已有人在做 @cbass2404 今天认领。 未关闭Mosquito
难度 1/5 1 小时以内 新手友好度 88/100
DCS-Skunkworks/dcs-bios#1925 ·
维护者通常 1 天内回复
-
难度 2/5 1 小时以内 新手友好度 80/100
mason-org/mason.nvim#2117 ·