home: vim: null-ls: remove 'clang-format'
All checks were successful
ci/woodpecker/push/check Pipeline was successful

I should be relying on `clangd` instead, which should always be
available whenever `clang-format` was.
This commit is contained in:
Bruno BELANYI 2024-05-13 14:28:45 +00:00
parent 811a9f44c5
commit 1cba7b609d

View file

@ -18,16 +18,6 @@ null_ls.register({
}),
})
-- C, C++
null_ls.register({
null_ls.builtins.formatting.clang_format.with({
-- Only used if available, but prefer clangd formatting if available
condition = function()
return utils.is_executable("clang-format") and not utils.is_executable("clangd")
end,
}),
})
-- Nix
null_ls.register({
null_ls.builtins.formatting.nixpkgs_fmt.with({