summaryrefslogtreecommitdiff
path: root/ftplugin/nix.vim
blob: f34ae8855b0c228565abf82460759c7fe2d8980c (plain)
1
2
3
4
augroup NixFmt
    autocmd!
    autocmd BufWritePost *.nix | silent! exec '!nixpkgs-fmt %' | silent! edit
augroup END