mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Added nix check and pre commit hook for formatting (#220)
* Added nix check and pre commit hook for formatting * Removed nix fmt check from CI
This commit is contained in:
parent
c5f31f5677
commit
2c333c86d0
5 changed files with 123 additions and 5 deletions
7
.envrc
Normal file
7
.envrc
Normal file
|
@ -0,0 +1,7 @@
|
|||
use_flake() {
|
||||
watch_file flake.nix
|
||||
watch_file flake.lock
|
||||
eval "$(nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile")"
|
||||
}
|
||||
|
||||
use flake
|
Loading…
Add table
Add a link
Reference in a new issue