I haven't configured `nil` to format anything. And I don't really care to, this is good enough for me.
This commit is contained in:
parent
b24d299f70
commit
07eca729f5
|
@ -31,10 +31,8 @@ null_ls.register({
|
|||
-- Nix
|
||||
null_ls.register({
|
||||
null_ls.builtins.formatting.nixpkgs_fmt.with({
|
||||
-- Only used if available, but prefer LSP if available
|
||||
condition = function()
|
||||
return utils.is_executable("nixpkgs-fmt") and not utils.is_executable("nil")
|
||||
end,
|
||||
-- Only used if available
|
||||
condition = utils.is_executable_condition("nixpkgs-fmt"),
|
||||
}),
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue