Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coder/claudecode.nvim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: coder/claudecode.nvim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 13 commits
  • 43 files changed
  • 4 contributors

Commits on Jun 9, 2025

  1. feat: add comprehensive tree explorer integration with @-mention support

    ## Summary
    
    - Add seamless integration with nvim-tree and neo-tree file explorers
    - Implement @-mention functionality for files and directories via new ClaudeCodeTreeAdd and ClaudeCodeAdd commands
    - Enable Claude to navigate and understand project file structures through visual selection
    - Add support for new file creation in diff system with proper directory handling
    
    ## New Features
    
    - **Tree Integration**: Context-aware <leader>as keybinding that sends text in normal buffers or adds files from tree explorers
    - **@-mention Commands**:
      - `:ClaudeCodeTreeAdd` - Add selected files from tree explorers to Claude context
      - `:ClaudeCodeAdd <path> [start] [end]` - Add files/directories by path with optional line ranges
    - **Enhanced Diff System**: Support for creating new files with automatic parent directory creation
    - **Visual Selection**: Improved multi-file selection detection for both nvim-tree and neo-tree
    
    ## Technical Improvements
    
    - Comprehensive test coverage with dedicated specs for @-mention functionality
    - Improved error handling and user feedback for edge cases
    - Enhanced build system with Nix integration for consistent development environment
    - Code cleanup and maintainability improvements throughout codebase
    
    ## Breaking Changes
    
    None - all changes are additive and backward compatible.
    
    Fixes #14
    Merge pull request #22 from coder/thomask33/nvim-tree-integration
    ThomasK33 authored Jun 9, 2025
    Configuration menu
    Copy the full SHA
    6f6b8d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2025

  1. Merge pull request #31 from coder/thomask33/claudecode-command-args

    feat: configurable auto-close and enhanced terminal architecture
    ThomasK33 authored Jun 11, 2025
    Configuration menu
    Copy the full SHA
    b822036 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72a4a41 View commit details
    Browse the repository at this point in the history
  3. fix(diff): ensure proposed diff buffer inherits original filetype (#20)

    * Adds  helper and propagates filetype to proposed buffers to restore syntax highlighting
    * Cleans up duplicate code and stray newline
    * Makes  CI-friendly by defining global  to avoid nested nix shells
    * Updates unit tests to cover filetype propagation
    
    Co-authored-by: ThomasK33 <[email protected]>
    blink-so[bot] and ThomasK33 committed Jun 11, 2025
    Configuration menu
    Copy the full SHA
    ddad527 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #32 from coder/fix-proposed-diff-filetype

    Fix missing syntax highlighting in proposed diff view
    ThomasK33 authored Jun 11, 2025
    Configuration menu
    Copy the full SHA
    09b231d View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2025

  1. feat: add auto terminal provider detection

    Add automatic terminal provider detection that tries snacks first,
    then falls back to native terminal silently. Update default config
    to use "auto" provider for better user experience.
    
    Change-Id: I1332f52ed466d0304faf7244d8d3e39d49dd4112
    Signed-off-by: Thomas Kosiewski <[email protected]>
    ThomasK33 committed Jun 13, 2025
    Configuration menu
    Copy the full SHA
    2d672d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    406a4ca View commit details
    Browse the repository at this point in the history
  3. refactor: move test runner from shell script to Makefile

    - Remove run_tests.sh shell script
    - Integrate test running directly into Makefile
    - Update CLAUDE.md to remove reference to shell script
    - Add pre-commit requirements section to documentation
    
    Change-Id: I26ab46f84207c85ace6a9f47b6cb204532c84d8f
    Signed-off-by: Thomas Kosiewski <[email protected]>
    ThomasK33 committed Jun 13, 2025
    Configuration menu
    Copy the full SHA
    970a0d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    83061d9 View commit details
    Browse the repository at this point in the history
  5. feat: implement bufhidden=hide for native terminal toggle

    Partially addresses #16 by implementing the core mechanism to preserve
    terminal processes when hiding windows. The native terminal provider now
    sets bufhidden=hide before closing windows, preventing Neovim from
    killing the terminal job when the window is closed.
    
    - Add hide_terminal() helper that sets bufhidden=hide before window close
    - Add show_hidden_terminal() to create windows for existing buffers
    - Add is_terminal_visible() for buffer visibility detection
    - Update toggle() logic to use hide/show instead of close/create
    - Add comprehensive test suite for toggle behavior verification
    - Optimize logger usage with module-level require
    
    This change enables process preservation during window hiding, laying
    the groundwork for full toggle behavior consistency with snacks provider.
    
    Change-Id: I334c00663dc2058eff2c362057e76499700b5e9e
    Signed-off-by: Thomas Kosiewski <[email protected]>
    ThomasK33 committed Jun 13, 2025
    Configuration menu
    Copy the full SHA
    e1def67 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    21f984b View commit details
    Browse the repository at this point in the history
  7. feat: add ClaudeCodeFocus command for smart toggle behavior

    - Add ClaudeCodeFocus command with focus-aware toggle logic
    - Change ClaudeCode to simple show/hide toggle behavior
    - Add <leader>af keybinding for focus command
    - Implement both toggle modes in native and snacks providers
    - Update documentation and dev config with new command
    - Add comprehensive tests for both toggle behaviors
    
    Fixes #16: Keep Claude Code running when toggling
    Fixes #35: Improve terminal toggle user experience
    
    Change-Id: If9e739d1af6e7cdfc9dc92dded8be7a3b9c3cf61
    Signed-off-by: Thomas Kosiewski <[email protected]>
    ThomasK33 committed Jun 13, 2025
    Configuration menu
    Copy the full SHA
    e1817e2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4bebd0e View commit details
    Browse the repository at this point in the history
Loading