refactor(nvim): disable jdtls
formatter and use google_java_format
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m7s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m7s
This commit is contained in:
parent
7c950cee65
commit
54b0bb5e7b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user