feat(nvim): nix formatter
This commit is contained in:
parent
f091765e16
commit
fa8472377d
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue