Skip to content

Commit fbfe201

Browse files
committed
Merge branch 'main' into totalolage/main
Change-Id: I3ea3f5de0a87ee824ca40b3b8121c6820b17d450 Signed-off-by: Thomas Kosiewski <[email protected]>
2 parents 606b259 + a01b9dc commit fbfe201

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+4614
-577
lines changed

.envrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#!/usr/bin/env bash
22

3-
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
4-
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
3+
if ! has nix_direnv_version || ! nix_direnv_version 3.0.7; then
4+
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.7/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
55
fi
66

77
nix_direnv_manual_reload
88

99
use flake .
10+
11+
# Add fixtures/bin to PATH for nvim config aliases
12+
PATH_add fixtures/bin

ARCHITECTURE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ lua/claudecode/
205205

206206
## Testing
207207

208+
### Automated Testing
209+
208210
Three-layer testing strategy using busted:
209211

210212
```lua
@@ -234,6 +236,30 @@ describe("full flow", function()
234236
end)
235237
```
236238

239+
### Integration Testing with Fixtures
240+
241+
Manual testing with real Neovim configurations in the `fixtures/` directory:
242+
243+
```bash
244+
# Test with different file explorers
245+
source fixtures/nvim-aliases.sh
246+
vv nvim-tree # Test with nvim-tree integration
247+
vv oil # Test with oil.nvim integration
248+
vv netrw # Test with built-in netrw
249+
250+
# Each fixture provides:
251+
# - Complete Neovim configuration
252+
# - Plugin dependencies
253+
# - Development keybindings
254+
# - Integration-specific testing scenarios
255+
```
256+
257+
**Fixture Architecture**:
258+
259+
- `fixtures/bin/` - Helper scripts (`vv`, `vve`, `list-configs`)
260+
- `fixtures/[integration]/` - Complete Neovim configs for testing
261+
- `fixtures/nvim-aliases.sh` - Shell aliases for easy testing
262+
237263
## Performance & Security
238264

239265
- **Debounced Updates**: 50ms delay on selection changes

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## [0.2.0] - 2025-06-18
4+
5+
### Features
6+
7+
- **Diagnostics Integration**: Added comprehensive diagnostics tool that provides Claude with access to LSP diagnostics information ([#34](https://github.com/coder/claudecode.nvim/pull/34))
8+
- **File Explorer Integration**: Added support for oil.nvim, nvim-tree, and neotree with @-mention file selection capabilities ([#27](https://github.com/coder/claudecode.nvim/pull/27), [#22](https://github.com/coder/claudecode.nvim/pull/22))
9+
- **Enhanced Terminal Management**:
10+
- Added `ClaudeCodeFocus` command for smart toggle behavior ([#40](https://github.com/coder/claudecode.nvim/pull/40))
11+
- Implemented auto terminal provider detection ([#36](https://github.com/coder/claudecode.nvim/pull/36))
12+
- Added configurable auto-close and enhanced terminal architecture ([#31](https://github.com/coder/claudecode.nvim/pull/31))
13+
- **Customizable Diff Keymaps**: Made diff keymaps adjustable via LazyVim spec ([#47](https://github.com/coder/claudecode.nvim/pull/47))
14+
15+
### Bug Fixes
16+
17+
- **Terminal Focus**: Fixed terminal focus error when buffer is hidden ([#43](https://github.com/coder/claudecode.nvim/pull/43))
18+
- **Diff Acceptance**: Improved unified diff acceptance behavior using signal-based approach instead of direct file writes ([#41](https://github.com/coder/claudecode.nvim/pull/41))
19+
- **Syntax Highlighting**: Fixed missing syntax highlighting in proposed diff view ([#32](https://github.com/coder/claudecode.nvim/pull/32))
20+
- **Visual Selection**: Fixed visual selection range handling for `:'\<,'\>ClaudeCodeSend` ([#26](https://github.com/coder/claudecode.nvim/pull/26))
21+
- **Native Terminal**: Implemented `bufhidden=hide` for native terminal toggle ([#39](https://github.com/coder/claudecode.nvim/pull/39))
22+
23+
### Development Improvements
24+
25+
- **Testing Infrastructure**: Moved test runner from shell script to Makefile for better development experience ([#37](https://github.com/coder/claudecode.nvim/pull/37))
26+
- **CI/CD**: Added Claude Code GitHub Workflow ([#2](https://github.com/coder/claudecode.nvim/pull/2))
27+
328
## [0.1.0] - 2025-06-02
429

530
### Initial Release

0 commit comments

Comments
 (0)