Something went wrong. Try again.
🪴 my neovim config:)
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ pkgs }:{ runtimeInputs = with pkgs; [ # keep-sorted start deadnix keep-sorted nixfmt statix stylua taplo # keep-sorted end
(writeShellScriptBin "statix-fix" '' for file in "$@"; do ${lib.getExe statix} fix "$file" done '') ];
settings = { on-unmatched = "info"; tree-root-file = "flake.nix";
excludes = [ "npins/*" ];
formatter = { # keep-sorted start block=yes newline_separated=yes deadnix = { command = "deadnix"; includes = [ "*.nix" ]; };
keep-sorted = { command = "keep-sorted"; includes = [ "*" ]; };
nixfmt = { command = "nixfmt"; includes = [ "*.nix" ]; };
statix = { command = "statix-fix"; includes = [ "*.nix" ]; };
stylua = { command = "stylua"; includes = [ "*.lua" ]; };
taplo = { command = "taplo"; options = "format"; includes = [ "*.toml" ]; }; # keep-sorted end }; };}