nvim exclude

Merged
SH
1y ago
+23-13
  • fix: add exclusion for Neovim pack lock file in JSON formatter
  • fix: remove Neovim pack lock file cleanup from sync process
  • fix: add missing newline at end of nvim-pack-lock.json
  • fix: add exclusion for nvim-pack-lock.json in formatter settings and enable Zsh integration for zoxide
  • fix: replace Neovim pack lock exclusion with TOML settings in flake.nix
  • fix: update treefmt settings in flake.nix and ensure newline at end of nvim-pack-lock.json

Summary by cubic

Exclude the Neovim plugin lockfile from formatting and remove lockfile cleanup in the sync step to stop noisy diffs. Move treefmt configuration into flake.nix for consistent formatter command wiring, and enable zoxide Bash/Zsh integration.

  • Bug Fixes

    • Exclude home-manager/programs/neovim/nvim-pack-lock.json from the JSON formatter.
    • Remove sed-based newline cleanup from neovim-sync in the Makefile.
  • Refactors

    • Parse treefmt.toml in flake.nix and set formatter commands (nixfmt-rfc-style, biome, jsonfmt, shfmt); keep stylua, taplo, yamlfmt configured.