robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
cd23569
main
1{ pkgs } : 2{ 3runtimeInputs = with pkgs ; [ 4# keep-sorted start 5deadnix 6keep-sorted 7nixfmt 8statix 9stylua 10taplo 11# keep-sorted end 12 13( writeShellScriptBin "statix-fix" '' 14for file in " $ @"; do 15${ lib . getExe statix } fix " $ file " 16done 17'' ) 18]; 19 20settings = { 21on-unmatched = "info" ; 22tree-root-file = "flake.nix" ; 23 24excludes = [ 25"npins/*" 26]; 27 28formatter = { 29# keep-sorted start block=yes newline_separated=yes 30deadnix = { 31command = "deadnix" ; 32includes = [ "*.nix" ]; 33}; 34 35keep-sorted = { 36command = "keep-sorted" ; 37includes = [ "*" ]; 38}; 39 40nixfmt = { 41command = "nixfmt" ; 42includes = [ "*.nix" ]; 43}; 44 45statix = { 46command = "statix-fix" ; 47includes = [ "*.nix" ]; 48}; 49 50stylua = { 51command = "stylua" ; 52includes = [ "*.lua" ]; 53}; 54 55taplo = { 56command = "taplo" ; 57options = "format" ; 58includes = [ "*.toml" ]; 59}; 60# keep-sorted end 61}; 62}; 63}