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('markdown'):fmt('cbfmt'):append('prettierd')
|
||||
ft('nix'):fmt({
|
||||
cmd = 'nixfmt',
|
||||
stdin = true,
|
||||
cmd = 'nix',
|
||||
args = { 'fmt', '--' },
|
||||
fname = true,
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue