Skip to content

[BUG] ClaudeCodeAdd fails on paths with spaces #314

Open

Description

@7A1T

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:

    {
      "<leader>ab",
      function()
        require("claudecode").send_at_mention(vim.fn.expand("%:p"), nil, nil, "ClaudeCodeAdd")
      end,
      desc = "Add current buffer",
    }

Activity

  1. added
    bugConfirmed or likely defect
    on Aug 21, 2026
  2. changed the title [-][BUG][/-] [+][BUG] ClaudeCodeAdd fails on paths with spaces[/+] on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed or likely defectneeds-triageAwaiting maintainer triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions