build: add nix devshell and pre-commit hooks
Problem: oil.nvim had no reproducible dev environment. The .envrc set up a Python venv for the now-removed docgen pipeline, and there were no pre-commit hooks for local formatting checks. Solution: add flake.nix with stylua, selene, and prettier in the devshell. Replace the stale Python .envrc with 'use flake'. Add .pre-commit-config.yaml with stylua and prettier hooks matching other plugins in the repo collection.
This commit is contained in:
parent
364b787578
commit
50f1ade92c
5 changed files with 91 additions and 4 deletions
2
Makefile
2
Makefile
|
|
@ -45,4 +45,4 @@ scripts/benchmark.nvim:
|
|||
## clean: reset the repository to a clean state
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf scripts/nvim-typecheck-action venv .testenv perf/tmp profile.json
|
||||
rm -rf scripts/nvim-typecheck-action .testenv perf/tmp profile.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue