feat(nvim): nix formatter

This commit is contained in:
Barrett Ruth 2026-02-11 10:54:29 -05:00
parent f091765e16
commit fa8472377d
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -39,8 +39,9 @@ return {
ft('cpp'):lint('cpplint') ft('cpp'):lint('cpplint')
ft('markdown'):fmt('cbfmt'):append('prettierd') ft('markdown'):fmt('cbfmt'):append('prettierd')
ft('nix'):fmt({ ft('nix'):fmt({
cmd = 'nixfmt', cmd = 'nix',
stdin = true, args = { 'fmt', '--' },
fname = true,
}) })
end, end,
} }