refactor(nvim): disable jdtls formatter and use google_java_format
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m7s

This commit is contained in:
Price Hiller 2024-06-22 05:25:53 -05:00
parent 7c950cee65
commit 54b0bb5e7b
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -209,6 +209,7 @@ return {
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.google_java_format,
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.asmfmt,
null_ls.builtins.formatting.black,
@ -231,7 +232,7 @@ return {
vim.lsp.buf.format({
async = true,
filter = function(client)
return not vim.list_contains({ "lua_ls" }, client.name)
return not vim.list_contains({ "lua_ls", "jdtls" }, client.name)
end,
})
end,