java: disable autoformatter

This commit is contained in:
kossLAN 2024-09-01 00:30:25 -04:00
parent 850ef8aeb5
commit ac951b8949
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -1,8 +1,8 @@
require("conform").setup({ require('conform').setup {
formatters_by_ft = { formatters_by_ft = {
lua = { "stylua" }, lua = { 'stylua' },
nix = { "alejandra" }, nix = { 'alejandra' },
java = { "google-java-format" }, -- java = { "google-java-format" },
-- Conform will run multiple formatters sequentially -- Conform will run multiple formatters sequentially
-- python = { "isort", "black" }, -- python = { "isort", "black" },
-- You can customize some of the format options for the filetype (:help conform.format) -- You can customize some of the format options for the filetype (:help conform.format)
@ -13,6 +13,6 @@ require("conform").setup({
format_on_save = { format_on_save = {
-- These options will be passed to conform.format() -- These options will be passed to conform.format()
timeout_ms = 500, timeout_ms = 500,
lsp_format = "fallback", lsp_format = 'fallback',
}, },
}) }