From bb9effcdbfdbe5cbc64944209426b0d300da6540 Mon Sep 17 00:00:00 2001 From: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Date: Sat, 7 Sep 2024 17:07:42 +0800 Subject: [PATCH] feat(clang_format): disable formatting for all Java files Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> --- lua/modules/configs/completion/null-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/modules/configs/completion/null-ls.lua b/lua/modules/configs/completion/null-ls.lua index 72982d6ea..d699e556b 100644 --- a/lua/modules/configs/completion/null-ls.lua +++ b/lua/modules/configs/completion/null-ls.lua @@ -17,7 +17,7 @@ return function() -- Don't specify any config here if you are using the default one. local sources = { btns.formatting.clang_format.with({ - filetypes = { "c", "cpp", "objc", "objcpp", "cs", "java", "cuda", "proto" }, + filetypes = { "c", "cpp", "objc", "objcpp", "cs", "cuda", "proto" }, extra_args = formatter_args("clang_format"), }), btns.formatting.prettier.with({