home: vim: don't use 'nixpkgs-fmt' with 'nil'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This commit is contained in:
parent
8a78ce8520
commit
01059616bf
|
@ -41,7 +41,9 @@ null_ls.register({
|
||||||
null_ls.builtins.formatting.nixpkgs_fmt.with({
|
null_ls.builtins.formatting.nixpkgs_fmt.with({
|
||||||
-- Only used if available, but prefer rnix if available
|
-- Only used if available, but prefer rnix if available
|
||||||
condition = function()
|
condition = function()
|
||||||
return utils.is_executable("nixpkgs-fmt") and not utils.is_executable("rnix-lsp")
|
return utils.is_executable("nixpkgs-fmt")
|
||||||
|
and not utils.is_executable("rnix-lsp")
|
||||||
|
and not utils.is_executable("nil")
|
||||||
end,
|
end,
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue