mirror of
https://github.com/harivansh-afk/forge.nvim.git
synced 2026-04-15 04:03:29 +00:00
Problem: `nix fmt -- --check .` fails because treefmt uses `--ci` not `--check`. `bug_report.yaml` had a pre-existing prettier issue. Solution: use `--ci` flag for treefmt, format `bug_report.yaml`.
9 lines
385 B
Bash
Executable file
9 lines
385 B
Bash
Executable file
#!/bin/sh
|
|
set -eu
|
|
|
|
nix develop .#ci --command stylua --check .
|
|
git ls-files '*.lua' | xargs nix develop .#ci --command selene --display-style quiet
|
|
nix develop .#ci --command prettier --check .
|
|
nix fmt -- --ci
|
|
nix develop .#ci --command lua-language-server --check lua --configpath "$(pwd)/.luarc.json" --checklevel=Warning
|
|
nix develop .#ci --command vimdoc-language-server check doc/
|