Skip to content

Commit a01b9dc

Browse files
committed
chore: update nix dependencies and improve documentation formatting
Change-Id: I86612e038b21583aafd2db56069343306a888d37 Signed-off-by: Thomas Kosiewski <[email protected]>
1 parent 35bb60f commit a01b9dc

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

.envrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The `fixtures/` directory contains test Neovim configurations for verifying plug
4747
- Source `fixtures/nvim-aliases.sh` to enable these commands
4848

4949
**Available Fixtures**:
50+
5051
- `netrw` - Tests with Neovim's built-in file explorer
5152
- `nvim-tree` - Tests with nvim-tree.lua file explorer
5253
- `oil` - Tests with oil.nvim file explorer
@@ -369,6 +370,7 @@ rg "0\.1\.0" . # Should only show CHANGELOG.md historical entries
369370
5. **Run Full Test Suite**: Ensure `make` passes with new integration
370371

371372
**Fixture Requirements**:
373+
372374
- Complete Neovim configuration with plugin dependencies
373375
- Include `dev-claudecode.lua` with development keybindings
374376
- Test all relevant claudecode.nvim features with the integration

DEVELOPMENT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,14 @@ make format
132132
When adding support for new integrations (file explorers, terminals, etc.), you **must** provide a fixture configuration for testing:
133133

134134
**Requirements**:
135+
135136
- Complete Neovim configuration in `fixtures/[integration-name]/`
136137
- Include plugin dependencies and proper setup
137138
- Add `dev-claudecode.lua` with development keybindings
138139
- Test all relevant claudecode.nvim features with the integration
139140

140141
**Usage**:
142+
141143
```bash
142144
# Source fixture aliases
143145
source fixtures/nvim-aliases.sh
@@ -152,6 +154,7 @@ list-configs
152154
```
153155

154156
**Example fixture structure** (`fixtures/my-integration/`):
157+
155158
```
156159
my-integration/
157160
├── init.lua # Main Neovim config

fixtures/bin/common.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ get_configs() {
1010
! -name "fixtures" \
1111
! -name "bin" \
1212
! -path "$fixtures_dir" \
13-
-printf "%f\n" | sort
13+
-exec basename {} \; | sort
1414
}
1515

1616
# Validate config exists
@@ -45,4 +45,3 @@ select_config() {
4545
echo "$config"
4646
fi
4747
}
48-

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
shellcheck.enable = true;
3131
};
3232
settings.formatter.shellcheck.options = [ "--exclude=SC1091,SC2016" ];
33+
settings.formatter.prettier.excludes = [
34+
# Exclude lazy.nvim lock files as they are auto-generated
35+
# and will be reformatted by lazy on each package update
36+
"fixtures/*/lazy-lock.json"
37+
];
3338
};
3439

3540
# CI-specific packages (minimal set for testing and linting)

0 commit comments

Comments
 (0)