From e8877369df244515af20e18bf1307632fc638d2a Mon Sep 17 00:00:00 2001 From: Noah Zhu Date: Mon, 2 Oct 2023 10:31:54 -0500 Subject: feat: add 'google-java-format' formatter (#99) Co-authored-by: Noah Zhu --- lua/conform/formatters/google-java-format.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lua/conform/formatters/google-java-format.lua (limited to 'lua/conform') diff --git a/lua/conform/formatters/google-java-format.lua b/lua/conform/formatters/google-java-format.lua new file mode 100644 index 0000000..8bcb82a --- /dev/null +++ b/lua/conform/formatters/google-java-format.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/google/google-java-format", + description = "Reformats Java source code according to Google Java Style.", + }, + command = "google-java-format", + args = { "-" }, +} -- cgit v1.2.3-70-g09d2