home: vim: null-ls: remove 'clang-format'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
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:
parent
811a9f44c5
commit
1cba7b609d
|
@ -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
|
-- Nix
|
||||||
null_ls.register({
|
null_ls.register({
|
||||||
null_ls.builtins.formatting.nixpkgs_fmt.with({
|
null_ls.builtins.formatting.nixpkgs_fmt.with({
|
||||||
|
|
Loading…
Reference in a new issue